From 142a77c9dce3d0871d91023744f74c68a4973019 Mon Sep 17 00:00:00 2001 From: cinap_lenrek Date: Mon, 13 Aug 2012 10:41:02 +0200 Subject: [PATCH] nusb/kb: increase mouse packet buffer from 32 to 64 bytes for Microsoft Sidewinder X5 Mouse (thanks Rexford Gibbs for reporting and testing) --- sys/src/cmd/nusb/kb/kb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/src/cmd/nusb/kb/kb.c b/sys/src/cmd/nusb/kb/kb.c index 7fdc97b6a..57f6913cc 100644 --- a/sys/src/cmd/nusb/kb/kb.c +++ b/sys/src/cmd/nusb/kb/kb.c @@ -227,7 +227,7 @@ ptrwork(void* a) static char maptab[] = {0x0, 0x1, 0x4, 0x5, 0x2, 0x3, 0x6, 0x7}; int x, y, b, c, ptrfd; int mfd, nerrs; - char buf[32]; + char buf[64]; char mbuf[80]; KDev* f = a; int hipri;