From: Stefan Ott <ste...@ott.net>

Some USB keyboards use max packet sizes beyond the current maximum
supported by SeaBIOS.

This increases the available size to support these keyboards.

Signed-off-by: Stefan Ott <ste...@ott.net>
---
 src/hw/usb-hid.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/hw/usb-hid.c b/src/hw/usb-hid.c
index a22765b..92c6b19 100644
--- a/src/hw/usb-hid.c
+++ b/src/hw/usb-hid.c
@@ -56,7 +56,7 @@ struct keyevent {
     u8 keys[6];
 };
 
-#define MAX_KBD_EVENT 10
+#define MAX_KBD_EVENT 16
 
 static int
 usb_kbd_setup(struct usbdevice_s *usbdev
-- 
2.30.1

_______________________________________________
SeaBIOS mailing list -- seabios@seabios.org
To unsubscribe send an email to seabios-le...@seabios.org

Reply via email to