Fix RCTRL and RALT linux scancodes

This commit is contained in:
Vladimir 'phcoder' Serbinenko 2010-08-23 13:21:26 +02:00
parent 071b673a7b
commit 9f5a5ad55a

View file

@ -375,11 +375,11 @@ write_keymaps (FILE *in, FILE *out)
/* Not remappable. */ /* Not remappable. */
if (keycode_linux == 0x1d /* Left CTRL */ if (keycode_linux == 0x1d /* Left CTRL */
|| keycode_linux == 0x9d /* Right CTRL */ || keycode_linux == 0x61 /* Right CTRL */
|| keycode_linux == 0x2a /* Left Shift. */ || keycode_linux == 0x2a /* Left Shift. */
|| keycode_linux == 0x36 /* Right Shift. */ || keycode_linux == 0x36 /* Right Shift. */
|| keycode_linux == 0x38 /* Left ALT. */ || keycode_linux == 0x38 /* Left ALT. */
|| keycode_linux == 0xb8 /* Right ALT. */ || keycode_linux == 0x64 /* Right ALT. */
|| keycode_linux == 0x3a /* CapsLock. */ || keycode_linux == 0x3a /* CapsLock. */
|| keycode_linux == 0x45 /* NumLock. */ || keycode_linux == 0x45 /* NumLock. */
|| keycode_linux == 0x46 /* ScrollLock. */) || keycode_linux == 0x46 /* ScrollLock. */)