![]() |
[NEED HELP] My mouse binds do not work in GLX? - Printable Version +- Xonotic Forums (https://forums.xonotic.org) +-- Forum: Support (https://forums.xonotic.org/forumdisplay.php?fid=3) +--- Forum: Xonotic - Help & Troubleshooting (https://forums.xonotic.org/forumdisplay.php?fid=4) +--- Thread: [NEED HELP] My mouse binds do not work in GLX? (/showthread.php?tid=9477) |
My mouse binds do not work in GLX? - FAF - 07-27-2022 Hi My mouse binds do not work in GLX, but they work in SDL? MOUSE4 MOUSE5 etc. Any ideas? GLX runs smoother here, but the binds do not. Ty Razer Deathadder Chroma. RZ01-0121 Bus 001 Device 002: ID 1532:0043 Razer USA, Ltd DeathAdder Chroma Xonotic 0.8.5 Autobuild RE: My mouse binds do not work in GLX? - FAF - 07-28-2022 (07-27-2022, 03:33 PM)FAF Wrote: Hi Looks like that mouse buttons changes in GLX, to something else than SDL. Like MOUSE5 is now MOUSE8 etc, like that GLX gets its mouse info from another place. I'm a little confused on how this works now. Will have to change my binds to either use GLX or SDL. I will see if there's a way to change it, so that they can become identical. RE: My mouse binds do not work in GLX? - FAF - 07-28-2022 (07-28-2022, 05:17 AM)FAF Wrote:(07-27-2022, 03:33 PM)FAF Wrote: Hi Going down the rabbit hole: https://www.linuxuprising.com/2020/12/remap-keyboard-and-mouse-buttons-on.html https://github.com/sezanzeb/input-remapper https://linuxgamecast.com/2019/09/customizing-mouse-buttons-with-linux/ So, after entering the GLX adventure, I have to setup my system and gain more knowledge about the internals. Cool. Let's get some order. Any advice or other approaches? Ty RE: My mouse binds do not work in GLX? - FAF - 07-28-2022 DEATHADDER RELATED From polychromatic docs: https://docs.polychromatic.app/faqs/#can-i-remap-keys ------ Can I remap keys? Not yet. This is a future ambition. In the meantime, other users have reported using these utilities: key-mapper (Python 3, GTK) - Recommended Keyboarding Master (Java, GUI) Pystromo (Python 2) Polychromatic intends to use boppreh/keyboard and boppreh/mouse projects in future. Key remapping (or “key rebinding”) is actually a generic feature. Try the tools above or look up how to do this with Xorg. Things get complicated for Razer hardware with a “Hypershift” button, as this functionality isn’t supported in OpenRazer. It’s currently unknown if the settings are stored in hardware or requires software. Some investigation is required for an agnostic software solution. --- Also xbindkeys on the mint forum: https://forums.linuxmint.com/viewtopic.php?t=247313 Razer drivers linux: https://github.com/openrazer/openrazer#applications RE: My mouse binds do not work in GLX? - FAF - 07-28-2022 Back to SDL for now. Think that Debian/Ubuntu is maturing and will make it possible to set the binds more easily. Remapper is included in the latest 22.04 (Jammy Jellyfish) and Debian unstable, so it will be possible to adjust the system more easily in the future. ty RE: My mouse binds do not work in GLX? - FAF - 07-29-2022 Looks reasonable: https://linuxhint.com/map-a-mouse-button-in-linux/ https://milanlaslop.dev/post/2022-02-07-linux-remapping-mouse-buttons/ ------------------------------------------ paste: Option 2: xorg configuration This is better. It does not need any custom always running script with polling. Simply create file /etc/X11/xorg.conf.d/20-mouse-buttons.conf: Section "InputClass" Identifier "mouse buttons" MatchProduct "ELECOM TrackBall Mouse HUGE TrackBall" MatchIsPointer "on" Option "ButtonMapping" "1 2 3 4 5 6 7 8 9 10 11 2" EndSection The value for MatchProduct can be obtained using xinput list. |