Added a separate keymap for escaped scancodes. This makes the code

a little cleaner (escaped scancodes are less of a special case) and
lets us be completely flexible when assigning meaning to them.

Future: a tool and ioctl to load the escaped keymap.
This commit is contained in:
Ben Gras
2009-02-04 17:04:16 +00:00
parent ba4687e519
commit 6a0e8e3b80
19 changed files with 23 additions and 60 deletions

View File

@@ -1,7 +1,5 @@
/* Keymap for US MF-2 keyboard. */
u16_t keymap[NR_SCAN_CODES * MAP_COLS] = {
/* scan-code !Shift Shift Alt1 Alt2 Alt+Sh Ctrl */
/* ==================================================================== */
/* 00 - none */ 0, 0, 0, 0, 0, 0,
@@ -132,4 +130,3 @@ u16_t keymap[NR_SCAN_CODES * MAP_COLS] = {
/*125 - ??? */ 0, 0, 0, 0, 0, 0,
/*126 - ??? */ 0, 0, 0, 0, 0, 0,
/*127 - ??? */ 0, 0, 0, 0, 0, 0
};