mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-24 08:09:22 +00:00
Set last_key to -1 at init time
This commit is contained in:
1 parent
7e6975d7ea
commit
7209c54e91
1 file changed
+2
-2
+2
-2
@@ -326,12 +326,12 @@ grub_usb_keyboard_attach (grub_usb_device_t usbdev, int configno, int interfno)
|
||||
return 0;
|
||||
}
|
||||
|
||||
data->last_key = -1;
|
||||
data->mods = 0;
|
||||
data->dead = 0;
|
||||
|
||||
grub_term_register_input_active ("usb_keyboard", &grub_usb_keyboards[curnum]);
|
||||
|
||||
data->dead = 0;
|
||||
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user