diff options
Diffstat (limited to 'driver/xf86-input-keyboard/src/at_scancode.c')
-rw-r--r-- | driver/xf86-input-keyboard/src/at_scancode.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/driver/xf86-input-keyboard/src/at_scancode.c b/driver/xf86-input-keyboard/src/at_scancode.c index a519a6cd7..4893e0dcc 100644 --- a/driver/xf86-input-keyboard/src/at_scancode.c +++ b/driver/xf86-input-keyboard/src/at_scancode.c @@ -108,6 +108,11 @@ ATScancode(InputInfoPtr pInfo, int *scanCode) case KEY_F6: *scanCode = KEY_F16; break; case KEY_F7: *scanCode = KEY_F17; break; case KEY_KP_Plus: *scanCode = KEY_KP_DEC; break; + /* Remap codes 0x09 and 0x11 to avoid overlap with the + Henkan and Muhenkan keys on Japanese pc106 or pc103 + keyboards */ + case 0x01: *scanCode = KEY_R_0xF4; break; + case 0x03: *scanCode = KEY_R_0xF5; break; case 0x2A: case 0x36: return TRUE; |