mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-21 06:49:35 +00:00
* grub-core/commands/keylayouts.c: Ignore unknown keys.
This commit is contained in:
1 parent
2988a849fc
commit
7c378c3964
2 files changed
+7
-1
No files matched your search
@@ -1,3 +1,7 @@
|
|||||||
|
2014-09-21 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
|
* grub-core/commands/keylayouts.c: Ignore unknown keys.
|
||||||
|
|
||||||
2014-09-21 Vladimir Serbinenko <phcoder@gmail.com>
|
2014-09-21 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
* grub-core/gmodule.pl.in: Accept newer binutils which output
|
* grub-core/gmodule.pl.in: Accept newer binutils which output
|
||||||
|
|||||||
@@ -173,8 +173,10 @@ grub_term_map_key (grub_keyboard_key_t code, int status)
|
|||||||
|
|
||||||
key = map_key_core (code, status, &alt_gr_consumed);
|
key = map_key_core (code, status, &alt_gr_consumed);
|
||||||
|
|
||||||
if (key == 0 || key == GRUB_TERM_SHIFT)
|
if (key == 0 || key == GRUB_TERM_SHIFT) {
|
||||||
grub_printf ("Unknown key 0x%x detected\n", code);
|
grub_printf ("Unknown key 0x%x detected\n", code);
|
||||||
|
return GRUB_TERM_NO_KEY;
|
||||||
|
}
|
||||||
|
|
||||||
if (status & GRUB_TERM_STATUS_CAPS)
|
if (status & GRUB_TERM_STATUS_CAPS)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in new issue
Block a user