ref: 142a77c9dce3d0871d91023744f74c68a4973019
parent: 73e924d847dd7b6f2db6d66bca1d389a1e2342f2
author: cinap_lenrek <cinap_lenrek@gmx.de>
date: Mon Aug 13 06:41:02 EDT 2012
nusb/kb: increase mouse packet buffer from 32 to 64 bytes for Microsoft Sidewinder X5 Mouse (thanks Rexford Gibbs for reporting and testing)
--- a/sys/src/cmd/nusb/kb/kb.c
+++ b/sys/src/cmd/nusb/kb/kb.c
@@ -227,7 +227,7 @@
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;
--
⑨