this post was submitted on 03 Jul 2023
3 points (100.0% liked)

Linux Gaming

15818 readers
58 users here now

Gaming on the GNU/Linux operating system.

Recommended news sources:

Related chat:

Related Communities:

Please be nice to other members. Anyone not being nice will be banned. Keep it fun, respectful and just be awesome to each other.

founded 4 years ago
MODERATORS
 

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.

you are viewing a single comment's thread
view the rest of the comments
[–] simonced@lemmy.one 1 points 1 year ago (2 children)

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...

[–] Nibodhika@lemmy.world 1 points 1 year ago

It is exactly %command% I use prime-run %command%

[–] PlasmaK@lemmy.ml 1 points 1 year ago

I dunno, i have tried %command% and it just doesn't work for me. Maybe I did something wrong. Whatever, I don't need this anymore. Thanks for trying to help