From 919dcf7fd3c0d394682c73f3e2fe1605b3a9520f Mon Sep 17 00:00:00 2001
From: Lucas Scharenbroich
Bits 0-7 | keyCode | Keyboard code read from the Keyboard register. If no key is currently pressed, this value is zero. |
Bit 8 | Reserved | Must be zero. |
Bit 9 | PAD_BUTTON_B | Set to 1 if the B button of the gamepad is pressed. Mapped to the option key by default. |
Bit 10 | PAD_BUTTON_A | Set to 1 if the A button of the gamepad is pressed. Mapped to the command key by default. |
Bit 11 | PAD_KEY_DOWN | Set to 1 on the initial press of a key. If a key is held down, the keyCode will be set and this bit will be zero. |
Bits 12-15 | Reserved | Must be zero. |
Bits 0-6 | keyCode | Keyboard code read from the Keyboard register. If no key is currently pressed, this value is zero. |
Bit 7 | Reserved | Always zero. |
Bit 8 | PAD_BUTTON_B | Set to 1 if the B button of the gamepad is pressed. Mapped to the option key by default. |
Bit 9 | PAD_BUTTON_A | Set to 1 if the A button of the gamepad is pressed. Mapped to the command key by default. |
Bit 10 | PAD_KEY_DOWN | Set to 1 on the initial press of a key. If a key is held down, the keyCode will be set and this bit will be zero. |
Bits 11-15 | Reserved | Always zero. |