aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Ott via SeaBIOS <seabios@seabios.org>2021-03-09 03:14:05 +0100
committerKevin O'Connor <kevin@koconnor.net>2021-03-10 10:22:17 -0500
commitb0d61ecef66eb05bd7a4eb7ada88ec5dab06dfee (patch)
tree2cb44ba501e7ca70d5848e1a75f0e01cc1213c33
parentef88eeaf052c8a7d28c5f85e790c5e45bcffa45e (diff)
downloadseabios-b0d61ecef66eb05bd7a4eb7ada88ec5dab06dfee.tar.gz
usb-hid: Increase MAX_KBD_EVENT
Some USB keyboards use max packet sizes beyond the current maximum supported by SeaBIOS. This increases the available size to support keyboards such as the Matias Ergo Pro. Signed-off-by: Stefan Ott <stefan@ott.net>
-rw-r--r--src/hw/usb-hid.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hw/usb-hid.c b/src/hw/usb-hid.c
index a22765b0..92c6b197 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