Create an account


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[NEED HELP] My mouse binds do not work in GLX?

#1
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
FAF - FERIS - COPENHAGEN - DENMARK - GNU/Linux  Heart
Homepage: https://feris-xonotic.net
Reply

#2
(07-27-2022, 03:33 PM)FAF Wrote: Hi

Any ideas?

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.
FAF - FERIS - COPENHAGEN - DENMARK - GNU/Linux  Heart
Homepage: https://feris-xonotic.net
Reply

#3
(07-28-2022, 05:17 AM)FAF Wrote:
(07-27-2022, 03:33 PM)FAF Wrote: Hi

Any ideas?

I will see if there's a way to change it, so that they can become identical.

Going down the rabbit hole:
https://www.linuxuprising.com/2020/12/re...ns-on.html
https://github.com/sezanzeb/input-remapper
https://linuxgamecast.com/2019/09/custom...ith-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
FAF - FERIS - COPENHAGEN - DENMARK - GNU/Linux  Heart
Homepage: https://feris-xonotic.net
Reply

#4
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
FAF - FERIS - COPENHAGEN - DENMARK - GNU/Linux  Heart
Homepage: https://feris-xonotic.net
Reply

#5
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
FAF - FERIS - COPENHAGEN - DENMARK - GNU/Linux  Heart
Homepage: https://feris-xonotic.net
Reply

#6
Looks reasonable:

https://linuxhint.com/map-a-mouse-button-in-linux/

https://milanlaslop.dev/post/2022-02-07-...e-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.
FAF - FERIS - COPENHAGEN - DENMARK - GNU/Linux  Heart
Homepage: https://feris-xonotic.net
Reply



Possibly Related Threads…
Thread Author Replies Views Last Post
  [NEED HELP] NO Sound in Xonotic-0.86-GLX FinBiteLeaf 3 815 03-18-2024, 07:49 PM
Last Post: bones_was_here
  [BUG] Dropping mouse input FPS Null 1 842 04-29-2023, 08:06 AM
Last Post: bones_was_here
  USB Mouse input on Linux dagelf 1 2,512 10-07-2020, 06:14 PM
Last Post: BuddyFriendGuy
  [NEED HELP] cl_gunalign doesn't seem to work on some servers/maps Aguaumreal 2 2,884 09-10-2019, 03:42 AM
Last Post: Aguaumreal
  [NEED HELP] Buffs Don't Work 3agle427 0 1,685 01-19-2019, 04:46 PM
Last Post: 3agle427
  [BUG] SDL version not loading, glx version buggy rendering Halogene 3 4,182 10-19-2017, 06:04 AM
Last Post: Freddy
  [SOLVED] Random failures to register mouse input Halogene 2 3,034 06-15-2017, 01:04 PM
Last Post: Halogene
  [SOLVED] Surround sound refuses to work with C-Media CMI-8788 soundcards Lee_Stricklin 2 3,217 03-06-2017, 08:24 PM
Last Post: Lee_Stricklin
  [NEEDS INFO] Menu mouse cursor stuck in invisible box nAnXiety 1 3,443 09-16-2016, 03:30 PM
Last Post: martin-t
  [SOLVED] Xonotic doesn't work with overwolf Ch4mp 2 3,979 08-12-2016, 02:44 AM
Last Post: Ch4mp

Forum Jump:


Users browsing this thread:
1 Guest(s)

Forum software by © MyBB original theme © iAndrew 2016, remixed by -z-