USB mouse buttons

Alexander Motin mav at alkar.net
Mon Jul 26 13:51:07 PDT 2004


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


More information about the freebsd-current mailing list