Hi,

I'm trying to setup a Gyration Air Mouse with XFree86 but xev reports
duplicate keycodes. The mouse has 8 buttons. The first 5 buttons acts
normaly, the extra 3 buttons give me troubles :

When I press the 3 extra buttons showkey -k reports :

keycode 183 release
keycode 184 press
keycode 184 release
keycode 185 press
keycode 185 release

and xev reports (when I press the same buttons) :

KeyPress event, serial 28, synthetic NO, window 0x1200001,
    root 0x3a, subw 0x1200002, time 11610016, (36,37), root:(494,61),
    state 0x0, keycode 101 (keysym 0x0, NoSymbol), same_screen YES,
    XLookupString gives 0 bytes:  ""

KeyRelease event, serial 28, synthetic NO, window 0x1200001,
    root 0x3a, subw 0x1200002, time 11610120, (36,37), root:(494,61),
    state 0x0, keycode 101 (keysym 0x0, NoSymbol), same_screen YES,
    XLookupString gives 0 bytes:  ""

KeyPress event, serial 28, synthetic NO, window 0x1200001,
    root 0x3a, subw 0x1200002, time 11610696, (36,37), root:(494,61),
    state 0x0, keycode 102 (keysym 0xff53, Right), same_screen YES,
    XLookupString gives 0 bytes:  ""

KeyRelease event, serial 28, synthetic NO, window 0x1200001,
    root 0x3a, subw 0x1200002, time 11610800, (36,37), root:(494,61),
    state 0x0, keycode 102 (keysym 0xff53, Right), same_screen YES,
    XLookupString gives 0 bytes:  ""

KeyPress event, serial 28, synthetic NO, window 0x1200001,
    root 0x3a, subw 0x1200002, time 11611759, (36,37), root:(494,61),
    state 0x0, keycode 103 (keysym 0xff57, End), same_screen YES,
    XLookupString gives 0 bytes:  ""

KeyRelease event, serial 28, synthetic NO, window 0x1200001,
    root 0x3a, subw 0x1200002, time 11611847, (36,37), root:(494,61),
    state 0x0, keycode 103 (keysym 0xff57, End), same_screen YES,
    XLookupString gives 0 bytes:  ""

Is there any way I can change the keycodes for keys End and Right
Arrow to get ridd of the duplicates ?
Thanks !

_______________________________________________
XFree86 mailing list
XFree86@XFree86.Org
http://XFree86.Org/mailman/listinfo/xfree86

Reply via email to