[NTLUG:Discuss] Logitech VX Nano Mouse

Daniel Hauck daniel at yacg.com
Wed Jan 23 11:04:55 CST 2008


Patrick R. Michaud wrote:
> On Wed, Jan 23, 2008 at 10:18:17AM -0600, Daniel Hauck wrote:
>> [...]
>> I'd like to use all of the buttons and I don't seem to be able to yet
>> that I know of.  (And perhaps I already am using them and it's just
>> various applications that will not see them)
>> [...]
>> So maybe the mouse is working already and it's just the software, but if
>> anyone has any ideas to try, I'm ready!
> 
> Have you tried running 'xev' yet, to see if the extra buttons are
> generating any sort of event at all?  
> 
> I have a Logitech multimedia keyboard, and many of the buttons
> generate scancodes that the kernel doesn't recognize as valid
> scancodes.  From the limited research I've done, it seems the only
> way to recognize these additional scancodes is to patch the kernel
> (or load a module or equivalent) that will honor the extra scancodes.
> 
> Pm
>

Neat!  I just ran it from the command line and it identifies things as 
follows:

Left mouse button: Button 1
Right mouse button: Button 3
Middle mouse button: Button 2
Scroll wheel forward: Button 4
Scroll wheel backward: Button 5
Tilt wheel left: Button 6
Tilt wheel right: Button 7
Down arrow button: Button 8
up arrow button: Button 9

What a simple and interesting tool.  So how can I use this information?

The relevant part of my xorg.conf file is this:

Section "InputDevice"
         Identifier  "VX Nano"
         Driver      "evdev"
         Option      "Name" "Logitech USB Receiver"
         Option      "Protocol" "evdev"
         Option      "Buttons" "9"
         Option      "SendCoreEvents"
         Option      "HWHEELRelativeAxisButtons" "7 6"
         Option      "Emulate3Buttons" "false"
EndSection

I got this configuration from some web site mainly focusing on the EEE 
PC, but had mention of my mouse.  This basically works.  Perhaps it's 
just the game doesn't read beyond a certain number of buttons on a mouse?




More information about the Discuss mailing list