|
PatchworkOS
|
PS/2 Scanmap. More...
Macros | |
| #define | PS2_SCAN_CODE_SET 2 |
| PS/2 scan code set to use. | |
Typedefs | |
| typedef uint8_t | ps2_scancode_t |
| PS/2 scancode. | |
Functions | |
| keycode_t | ps2_scancode_to_keycode (ps2_scancode_t scancode, bool isExtended) |
| Convert a PS/2 scancode to a generic keycode. | |
PS/2 Scanmap.
| #define PS2_SCAN_CODE_SET 2 |
PS/2 scan code set to use.
Definition at line 18 of file ps2_scanmap.h.
| typedef uint8_t ps2_scancode_t |
PS/2 scancode.
Definition at line 23 of file ps2_scanmap.h.
| keycode_t ps2_scancode_to_keycode | ( | ps2_scancode_t | scancode, |
| bool | isExtended | ||
| ) |
Convert a PS/2 scancode to a generic keycode.
| scancode | PS/2 scancode structure |
| isExtended | Whether to use the extended scanmap |
Definition at line 118 of file ps2_scanmap.c.
References KBD_NONE, set2ExtendedMap, and set2Map.
Referenced by ps2_kbd_irq().