Re: btnx: Send keyboard and mouse combination events with mouse buttons
Originally Posted by
dondad
Here they are:
Code:
Original
Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
EndSection
edited: (this is the same as the gutsy one that works [same computer, dual boot])
Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ImPS/2"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "true"
EndSection
After the latest updates, it started crashing when I tried to detect the buttons. Just for grins, I tried taking the configuratin backup from the gutsy install and it sorta worked for a bit, but then the mouse really started acting weird, putting out continuous characters and disabling everything. I killed it then uninstalled butnx and deleted the folders. I can reinstall if anyone has something to try. This hardy install is for playing/testing, so I don't mind trying stuff if it will help debug. If it breaks the system, I can reinstall, no problem.
The way it is acting, I am wondering if the Hardy defaults take over some of the mouse buttons and is interfering with btnx. For instance, if I push the button on top of the mouse (after a normal hardy and btnx install, no changes), it opens the file search. (this is an MX Revolution mouse) I fixed that by changing the hot key for the search, but I wonder if the buttons are being intercepted by the xsystem. I don't know how to make that go away if that is the case.
You could try setting the xorg.conf option Protocol to "auto", and if that isn't enough, try also setting Device to "/dev/psaux".
The search button on the MX Revolution is actually a "keyboard" button. This is probably why Hardy recognizes it as a search button, but it isn't a problem if remapping it under the keyboard shortcuts is enough.
echo -e "\x6f\x61\x73\x61\x6c\x6f\x6e\x65\x6e\x40\x67 \b\x6d\x61\x69\x6c\x2e\x63\x6f\x6d"
It compiles! Ship it!
Bookmarks