Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Jul 2004 23:30:32 +0300
From:      Alexander Motin <mav@alkar.net>
To:        freebsd-current@freebsd.org, freebsd-hardware@freebsd.org
Subject:   USB mouse buttons
Message-ID:  <ce3plb$2ce9$1@pandora.alkar.net>

next in thread | raw e-mail | index | archive | help
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@alkar.net



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ce3plb$2ce9$1>