diff options
author | 2004-12-06 11:08:23 +0000 | |
---|---|---|
committer | 2004-12-06 11:08:23 +0000 | |
commit | 23c733285b031e0125c82569cd4bb9c37906cec1 (patch) | |
tree | 1224f411ff17173a8b2b56fd06d019170cd13678 | |
parent | Check if TEST_SSH_SSHD is a full path to sshd before searching; ok markus@ (diff) | |
download | wireguard-openbsd-23c733285b031e0125c82569cd4bb9c37906cec1.tar.xz wireguard-openbsd-23c733285b031e0125c82569cd4bb9c37906cec1.zip |
some mice have more than 7 buttons, so raise the limit in the driver.
fix submitted by Wolfgang S. Rupprecht in pr4015
-rw-r--r-- | sys/dev/usb/ums.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/usb/ums.c b/sys/dev/usb/ums.c index 25480133aa0..93fdcb0c536 100644 --- a/sys/dev/usb/ums.c +++ b/sys/dev/usb/ums.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ums.c,v 1.14 2004/07/08 22:18:44 deraadt Exp $ */ +/* $OpenBSD: ums.c,v 1.15 2004/12/06 11:08:23 dlg Exp $ */ /* $NetBSD: ums.c,v 1.60 2003/03/11 16:44:00 augustss Exp $ */ /* @@ -86,7 +86,7 @@ int umsdebug = 0; #define PS2MBUTMASK x04 #define PS2BUTMASK 0x0f -#define MAX_BUTTONS 7 /* must not exceed size of sc_buttons */ +#define MAX_BUTTONS 16 /* must not exceed size of sc_buttons */ struct ums_softc { struct uhidev sc_hdev; |