Re: btnx: Send keyboard and mouse combination events with mouse buttons
Originally Posted by
Tiftof
I'm trying to get it to work for my MX1000 in Hardy. I can assign the horizontal scroll buttons to a keyboard combination. But when I reboot the key combinations don't work anymore. Restart the btnx daemon doesn't help. When I reconfigure the settings in btnx, everything works again.
I thought I might try assigning my MX1000 to constant input handler '/dev/input/event*' but that's not helping either. The event handler is made on reboot, but when I check '/proc/bus/input/devices' I see that my MX1000 is still using a random event input handler.
How can I make btnx work after a reboot?
Thanks!
It doesn't matter if the event# changes between reboots. What matters is if the button codes or Vendor/Product IDs change between reboots.
Sounds exactly like the problem tim71 has been having with his MX1000. I believe this is an issue with the mouse itself. He made a few configuration files, 3 I think, one of which worked after a reboot. But then btnx needs to be manually started with the correct configuration after each reboot.
There might be a workaround using the new feature I coded today for btnx (in SVN repository trunk). You can make multiple configurations (make one each time you reboot and a previous config file does not work). Then, when btnx starts during boot, it loops through all the configuration files until it finds one for the plugged in mouse.
However, this will not work if the Vendor and Product IDs do not change between reboots (and button codes change- you can check this by looking at the RC value of the button, visible in the button list of btnx-config).
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