I finished a program I was working on for a few days at work to update some Jenkins jobs and add web hooks to Azure DevOps Server. I walked 2 miles, watered my plants, harvested some peppers, and started working on something like x-mouse button control for Linux. I figured out the most important part, intercepting and sending keys through /dev/input/event*. The issue I currently face is how to automate which event is the correct one to choose.
The motivation for this is I want to press a button on my mouse and have the program hold down W for me so I don't have to. I'm pretty sure I have a RSI in my left middle finger from holding down W too long so anything that prevents that would be great.
The game in question is Stalker Anomaly. Good game.