Problems (#1) - Problem with mouse buttons in wminput (#43) - Message List
I'm using cwiid and wminput from Debian Sid package (version 0.6.00~rc2).
All the buttons and clicks on the mouse works fine in wminput, but if I configure the "button" BTN_GEAR_DOWN or BTN_GEAR_UP it doesn't do nothing.
Is it a distro-spacefic problem or it's generalized?
-
Message #198
How do you know it's not doing anything? Have you tested xev or similar?
dsmith08/18/07 17:49:54 (4 years ago) -
Message #199
It looks like this is a distro specific problem. I'm experiencing the same thing in Fedora 7. It *should* work as my input.h in my kernel sources does define BTN_GEAR_DOWN and BTN_GEAR_UP properly, but it doesn't.
No events show up in xev when I assign either of these to a button on the wiimote. Also, mouse buttons above 3 are not assigned properly. 4 does not trigger an event, and 5 triggers a mouse button 9 event.
So either this is either a distro problem, or a problem with the desktop environment re-defining some button presses. Either way, it looks like wminput is doing what a vanilla kernel expects.
nickishappy08/21/07 09:12:26 (4 years ago)-
Message #201
I searched in vanilla kernel source and the input.h define the BTN_GEAR_UP and BTN_GEAR_DOWN equals my /usr/include/linux/input.h (I'm using Debian unstable)
In xdev when I use the mouse button up or down I get that:
ButtonPress? event, serial 29, synthetic NO, window 0x3200001,
root 0x1a5, subw 0x0, time 2374121295, (173,174), root:(399,676), state 0x10, button 4, same_screen YES
ButtonRelease? event, serial 29, synthetic NO, window 0x3200001,
root 0x1a5, subw 0x0, time 2374121295, (173,174), root:(399,676), state 0x810, button 4, same_screen YES
ButtonPress? event, serial 29, synthetic NO, window 0x3200001,
root 0x1a5, subw 0x0, time 2374122426, (173,174), root:(399,676), state 0x10, button 5, same_screen YES
ButtonRelease? event, serial 29, synthetic NO, window 0x3200001,
root 0x1a5, subw 0x0, time 2374122426, (173,174), root:(399,676), state 0x1010, button 5, same_screen YES
But nothing when I press + or - buttons configured on my /etc/cwiid/wminput/default
Lk208/22/07 12:19:07 (4 years ago)-
Message #202
The events are getting through, but are apparently filtered. Search around for a program called jstest in package joystick (it's in Gentoo) - it'll show you the status of a joystick object, and the GEAR_UP, GEAR_DOWN, etc register. Not that that solves your problem...anybody know anything about X the event manager?
dsmith08/24/07 01:25:43 (4 years ago)
-
-
