Hard Light Productions Forums

General FreeSpace => FreeSpace Discussion => Topic started by: the-butler on January 27, 2017, 09:16:27 pm

Title: Map thrust to mouse scroll
Post by: the-butler on January 27, 2017, 09:16:27 pm
Hi, just reporting that I was able to successfully map thrust keys to my mouse scroll wheel on arch64 using the evrouter program as outlined here: https://wiki.archlinux.org/index.php/Mouse_buttons#evrouter

Follow the instructions on the arch wiki and remember to logout and login after adding yourself to the input group.
This is my .evrouterrc file:

$ cat .evrouterrc
"USB OPTICAL MOUSE" "/dev/input/event*" any rel/8/1 "XKey/equal"
"USB OPTICAL MOUSE" "/dev/input/event*" any rel/8/-1 "XKey/minus"

Ensure your ship config key mapping in fs2open uses - (minus) and = (equal)  to decrease and increase throttle 5% respectively.



Title: Re: Map thrust to mouse scroll
Post by: niffiwan on January 27, 2017, 09:54:54 pm
wow, that's really cool. Great workaround until we get native support for mouse wheels (and more than 3 buttons :))