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 - COPENHAGEN - DENMARK - GNU/Linux  Heart
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 - COPENHAGEN - DENMARK - GNU/Linux  Heart
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 - COPENHAGEN - DENMARK - GNU/Linux  Heart
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 - COPENHAGEN - DENMARK - GNU/Linux  Heart
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 - COPENHAGEN - DENMARK - GNU/Linux  Heart
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 - COPENHAGEN - DENMARK - GNU/Linux  Heart
Reply



Possibly Related Threads...
Thread Author Replies Views Last Post
  USB Mouse input on Linux dagelf 1 1,598 10-07-2020, 06:14 PM
Last Post: BuddyFriendGuy
  [NEED HELP] cl_gunalign doesn't seem to work on some servers/maps Aguaumreal 2 1,745 09-10-2019, 03:42 AM
Last Post: Aguaumreal
  [NEED HELP] Buffs Don't Work 3agle427 0 1,145 01-19-2019, 04:46 PM
Last Post: 3agle427
  [SOLVED] Random failures to register mouse input Halogene 2 2,147 06-15-2017, 01:04 PM
Last Post: Halogene
  [SOLVED] Surround sound refuses to work with C-Media CMI-8788 soundcards Lee_Stricklin 2 2,415 03-06-2017, 08:24 PM
Last Post: Lee_Stricklin
  [NEEDS INFO] Menu mouse cursor stuck in invisible box nAnXiety 1 2,594 09-16-2016, 03:30 PM
Last Post: martin-t
  [SOLVED] Xonotic doesn't work with overwolf Ch4mp 2 3,067 08-12-2016, 02:44 AM
Last Post: Ch4mp
  [SOLVED] How does the defer command work? nightspawn9911 4 2,928 07-18-2016, 07:34 PM
Last Post: nightspawn9911
  [NEEDS INFO] mouse lag mumin 3 2,817 03-17-2016, 05:29 AM
Last Post: Maddin
  [FIXED] assault map don't work Brot 3 3,385 10-13-2015, 05:44 PM
Last Post: Mario

Forum Jump:


Users browsing this thread:
1 Guest(s)

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