I have bought crosscode on sale, and while I like the game so far, the one source of frustration for me is the fact that primary and secondary mouse buttons are overloaded and it can be hard to use their features. Sadly, this game doesn’t support rebinding mouse buttons because it was build with snort and matchsticks. Is there a program that can remap mouse keys while the game is running and only while it is running? I know about xbindkeys, it seems like I have to manually turn off my binding when I don’t play the game.
I am using steam (yeah, I’m sorry)
I guess I could pgrep the games process and if it isn’t present then kill the xbindkeys.
EDIT: i found a mod that allows you to bind to mouse buttons 4 and 5 in game.
Maybe you can do something like that in the launch options:
xbindkeys <stuff> && %command% && pskill xbindkeys
I don’t remember the game run command but it should be similar to
%command%
or something…It is exactly
%command%
I useprime-run %command%