Hey all!
Firstly, I've only been on Cachy for a few days now, but... wow. The performance, the ease-of-use, and (not really Cachy's doing) KDE Plasma... I am in love. Every time I want to make a small tweak, I can. The games I play are all supported in some capacity, and it just feels so... nice to use. Aside from one singular issue.
I have a mouse with two side buttons, which I use... a lot. It's a Logitech G Pro X Superlight 2. There is no official Linux support for Logitech's software. I use a function of the software to change my mouse's bindings based on what application is in focus, as different games/software utilize different bindings.
For example:
- When in my browser (Zen Browser) I have Mouse 4/Mouse 5 bound to Ctrl+Tab & Ctrl+Shift+Tab.
- When World of Warcraft or Final Fantasy XIV are in focus, Mouse 4/Mouse 5 become Shift & Ctrl+Shift. (This is for modifiers to reach additional hotbar buttons)
- When in a handful of other games with native side button support, Mouse 4/Mouse 5 become Forward & Backward.
Despite my best efforts, I have not been able to devise a way to consolidate this setup down to a single set of bindings which can work across all of my applications.
I found a software called Input Remapper which does identify my mouse and allow me to rebind the buttons. It even has profile support for multiple different bindings. My friend & I tried to create a Python script which would switch the profile depending on which application is in focus. It worked! ...Except it seems that, with World of Warcraft, Alt+Tabbing seems to... break Input Remapper, or at least the way we're using it functionality. It will work fine for a few times, but eventually it breaks. I don't know if it's related to the frequency of window focus switching or not, and it only seems to do so with World of Warcraft. The gist of the problem is that the window (the game) becomes the focus and tabbing windows over top will only cause me to click through them. In addition, profile switching breaks and Mouse 2-5 no longer work. Stopping the Input Remapper service fixes it, but I can't determine if it's an issue with our script, with Input Remapper itself, or World of Warcraft running through Proton.
My intent is not to have anyone try and identify what's wrong with our script, but to help me address the issue itself, either with World of Warcraft, or not having a native context-sensitive mouse bindings solution. I really wish to conquer this, because otherwise using CachyOS has been just... fantastic.
What direction should I head in? Is there a clean way to solve the issue I'm facing? Am I in one of those all-too-common scenarios where "you just can't do that on Linux" is said?
Any help, suggestions or insight would be much appreciated!