Key bind event documentation
Introductions
Key presses are tracked using events in NEET computers, events contain an ASCII code with a few extra codes bolted on the end to cover certain action keys, as well as a letter representing the key and a modifier map.
Event table
keyPressed [User]
| keyPressed[String] | code[Int] | letter[String] | modifiers[Int] |
| Triggered when a key is pressed, returns an ASCII keycode, a letter representing the key pressed if applicable, and modifier key bitmap. | |||
keyReleased [User]
| keyReleased[String] | code[Int] | letter[String] | modifiers[Int] |
| Triggered when a key is released, returns an ASCII keycode, a letter representing the key pressed if applicable, and modifier key bitmap. | |||