1
0
Fork 0

change keycodes and define keymap macro for AEK.

ADD: keymap macro for Apple Extended Keyboard in adb/keymap.c
FIX: keycodes for Keypad, Fn and Mousekey.
This commit is contained in:
tmk 2011-01-13 16:39:49 +09:00
parent 56e098d76e
commit c5b9f2b02b
6 changed files with 289 additions and 254 deletions

View file

@ -76,9 +76,6 @@ uint8_t matrix_scan(void)
codes = adb_host_kbd_recv();
key0 = codes>>8;
key1 = codes&0xFF;
if (debug_matrix) {
//print("adb_host_kbd_recv: "); phex16(codes); print("\n");
}
if (codes == 0) { // no keys
return 0;
@ -91,6 +88,9 @@ uint8_t matrix_scan(void)
_register_key(key1);
}
if (debug_matrix && matrix_is_modified()) {
print("adb_host_kbd_recv: "); phex16(codes); print("\n");
}
return 1;
}