]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
Fix RCTRL and RALT linux scancodes
authorVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Mon, 23 Aug 2010 11:21:26 +0000 (13:21 +0200)
committerVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Mon, 23 Aug 2010 11:21:26 +0000 (13:21 +0200)
util/grub-mklayout.c

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