Re: btnx: Send keyboard and mouse combination events with mouse buttons
It doesn't matter if the event# changes between reboots. What matters is if the button codes or Vendor/Product IDs change between reboots.
Originally Posted by Tiftof
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!