How do I map keycode 105 to mouse button 2?

From: Richard Skelton (Richard.Skelton@infineon.com)
Date: Wed Sep 27 2006 - 07:39:18 EDT


Hi,
My user has a USB Logitech Marble Mouse connected to a Fujitsu Siemens
FUTRO D100 running Elux as Thin Client.
We use Citrix to connect to our Solaris server running Solaris 8.
The user wants to use a middle button as mouse button 2 which xev sees
as keycode 105
Below you can see the xev output for left button (button 1) right button
(button 3) and the key most close to middle button normally button2
(keycode 105)

KeyPress event, serial 22, synthetic NO, window 0x5800001,
    root 0x26, subw 0x0, time 4010069347, (69,156), root:(269,381),
    state 0x20, keycode 105 (keysym 0xff56, Next), same_screen YES,
    XLookupString gives 0 characters: ""

KeyRelease event, serial 22, synthetic NO, window 0x5800001,
    root 0x26, subw 0x0, time 4010069548, (69,156), root:(269,381),
    state 0x20, keycode 105 (keysym 0xff56, Next), same_screen YES,
    XLookupString gives 0 characters: ""

ButtonPress event, serial 22, synthetic NO, window 0x5800001,
    root 0x26, subw 0x0, time 4010078270, (69,156), root:(269,381),
    state 0x20, button 1, same_screen YES

ButtonRelease event, serial 22, synthetic NO, window 0x5800001,
    root 0x26, subw 0x0, time 4010078379, (69,156), root:(269,381),
    state 0x120, button 1, same_screen YES

ButtonPress event, serial 22, synthetic NO, window 0x5800001,
    root 0x26, subw 0x0, time 4010081660, (69,156), root:(269,381),
    state 0x20, button 3, same_screen YES

ButtonRelease event, serial 22, synthetic NO, window 0x5800001,
    root 0x26, subw 0x0, time 4010081806, (69,156), root:(269,381),
    state 0x420, button 3, same_screen YES

How do I map this key to mouse button 2 ?

-- 
Cheers
Richard Skelton
Richard.Skelton@infineon.com
Infineon Technologies UK Ltd
Infineon House
Great Western Court
Hunts Ground Road
Stoke Gifford
Bristol
BS34 8HP
Tel +44(0)117 9528808
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers


This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:40:52 EDT