USB mouse buttons

From: Alexander Motin <mav_at_alkar.net>
Date: Mon, 26 Jul 2004 23:30:32 +0300
Hi!

I have Logitech MX510 mouse with 8 buttons. When I connect it to USB 
port I take message:
Jul 26 18:07:58 orphanage kernel: ums0: Logitech USB-PS/2 Optical Mouse, 
rev 2.00/21.00, addr 2, iclass 3/1
Jul 26 18:07:58 orphanage kernel: ums0: 7 buttons and Z dir.

As I understand ums driver do not support mouses with more then 7 
buttons because of:
#define MAX_BUTTONS     7       /* chosen because sc_buttons is u_char */

But sc_buttons is int as I can see inside /usr/src/sys/i386/isa/mse.c

May be this limitation is obsoleted and can be removed?

-- 
Alexander Motin mav_at_alkar.net
Received on Mon Jul 26 2004 - 18:51:07 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:03 UTC