Remap mouse

More
13 Apr 2018 12:00 #108939 by grump
Remap mouse was created by grump
I am using the install from here www.linuxcnc.org/testing-stretch-rtpreempt/.

I have added xinput and remap my mouse every boot with this command:
xinput set-button-map `xinput list | grep 'PixArt USB Optical Mouse' | grep -o [0-9][0-9]` 1 0 3

This works perfectly per session for me but can anyone give me heads up how to execute it automatically?
All I can find is old and inappropriate info via google mostly guiding me to outdated Ubuntu.

Please Log in or Create an account to join the conversation.

More
15 Apr 2018 19:02 #109084 by grump
Replied by grump on topic Remap mouse
Sorted it by writing a bin/sh file and adding it to my start programs.

Please Log in or Create an account to join the conversation.

Time to create page: 0.053 seconds
Powered by Kunena Forum