|
MentOS
0.8.0
The Mentoring Operating System
|
Macros | |
| #define | PS2_DEV_RESET 0xFF |
| Resets the device (keyboard or mouse), triggers self-test. | |
| #define | PS2_DEV_DISABLE_SCAN 0xF5 |
| Disables scanning, stops the device from sending scancodes. | |
| #define | PS2_DEV_ENABLE_SCAN 0xF4 |
| Enables scanning, allowing the device to send scancodes. | |
| #define | PS2_DEV_SET_DEFAULTS 0xF6 |
| Sets the device to its default settings. | |
| #define | PS2_DEV_SET_LED 0xED |
| Sets the keyboard LED state (Caps Lock, Num Lock, Scroll Lock). | |
| #define | PS2_DEV_SCAN_CODE_SET 0xF0 |
| Selects the scancode set (requires additional byte to specify the set). | |