2008-05-29 Robert Millan <rmh@aybabtu.com>
* term/i386/pc/at_keyboard.c (grub_console_checkkey): Add support for control key combinations.
This commit is contained in:
parent
eee96e0837
commit
ee63252905
2 changed files with 8 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2008-05-29 Robert Millan <rmh@aybabtu.com>
|
||||||
|
|
||||||
|
* term/i386/pc/at_keyboard.c (grub_console_checkkey): Add support for
|
||||||
|
control key combinations.
|
||||||
|
|
||||||
2008-05-29 Robert Millan <rmh@aybabtu.com>
|
2008-05-29 Robert Millan <rmh@aybabtu.com>
|
||||||
|
|
||||||
* util/powerpc/ieee1275/grub-install.in: Move from here ...
|
* util/powerpc/ieee1275/grub-install.in: Move from here ...
|
||||||
|
|
|
@ -186,7 +186,9 @@ grub_console_checkkey (void)
|
||||||
key = -1;
|
key = -1;
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
if ((at_keyboard_status & (KEYBOARD_STATUS_SHIFT_L | KEYBOARD_STATUS_SHIFT_R))
|
if (at_keyboard_status & (KEYBOARD_STATUS_CTRL_L | KEYBOARD_STATUS_CTRL_R))
|
||||||
|
key = keyboard_map[key] - 'a' + 1;
|
||||||
|
else if ((at_keyboard_status & (KEYBOARD_STATUS_SHIFT_L | KEYBOARD_STATUS_SHIFT_R))
|
||||||
&& keyboard_map_shift[key])
|
&& keyboard_map_shift[key])
|
||||||
key = keyboard_map_shift[key];
|
key = keyboard_map_shift[key];
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue