[MPlayer-users] input.conf for 11th and 12th mouse button

mikey abc.mikey at googlemail.com
Thu May 5 16:51:05 CEST 2011


Hi,

I'm trying to modify ~/input.conf to allow for mouse control. Mplayer
appears to give two of my mouse buttons that I'd like to use hex
keycodes. Mplayer outputs when these are pressed:

No bind found for key '0x1000020a'.-MOUSE_BTN3
No bind found for key '0x1000020b'.-MOUSE_BTN4

I've tried them through xev and I get output like so when pressing one
button then the other:

***********************************************************

ButtonPress event, serial 36, synthetic NO, window 0x4800001,
    root 0x15a, subw 0x0, time 13343855, (132,154), root:(199,207),
    state 0x0, button 12, same_screen YES

ButtonPress event, serial 36, synthetic NO, window 0x4800001,
    root 0x15a, subw 0x0, time 13343855, (132,154), root:(199,207),
    state 0x0, button 5, same_screen YES

ButtonRelease event, serial 36, synthetic NO, window 0x4800001,
    root 0x15a, subw 0x0, time 13343855, (132,154), root:(199,207),
    state 0x1000, button 5, same_screen YES

ButtonRelease event, serial 36, synthetic NO, window 0x4800001,
    root 0x15a, subw 0x0, time 13344255, (132,154), root:(199,207),
    state 0x0, button 12, same_screen YES

MotionNotify event, serial 36, synthetic NO, window 0x4800001,
    root 0x15a, subw 0x0, time 13344727, (132,153), root:(199,206),
    state 0x0, is_hint 0, same_screen YES

...

MotionNotify event, serial 36, synthetic NO, window 0x4800001,
    root 0x15a, subw 0x0, time 13344951, (136,150), root:(203,203),
    state 0x0, is_hint 0, same_screen YES

ButtonPress event, serial 36, synthetic NO, window 0x4800001,
    root 0x15a, subw 0x0, time 13346119, (136,150), root:(203,203),
    state 0x0, button 11, same_screen YES

ButtonPress event, serial 36, synthetic NO, window 0x4800001,
    root 0x15a, subw 0x0, time 13346119, (136,150), root:(203,203),
    state 0x0, button 4, same_screen YES

ButtonRelease event, serial 36, synthetic NO, window 0x4800001,
    root 0x15a, subw 0x0, time 13346119, (136,150), root:(203,203),
    state 0x800, button 4, same_screen YES

ButtonRelease event, serial 36, synthetic NO, window 0x4800001,
    root 0x15a, subw 0x0, time 13346407, (136,150), root:(203,203),
    state 0x0, button 11, same_screen YES

*****************************************************************************************

Is it possible to bind to these buttons?


More information about the MPlayer-users mailing list