Extra mouse buttons does not recognise the Forward and Back buttons on the MX Master 3S

Only the Gesture buttons is recognised but the Forward and Back buttons are not.

hi, welcome.

please provide your system info

settings > about this system

copy those and paste them here

I previously posted about this - after I did a test, deleted my thumb button, I was unable to re-add it.

The solution was to manually edit the config… the kcminputrc file… so I compared it with a snapshotted version and got this:

[ButtonRebinds][Mouse]
ExtraButton1=Key,Meta+G
ExtraButton2=Key,Ctrl+F10

Try pasting this at the very top of that file, save, then try again…

If all goes well, then the thumb buttons will do ā€˜present windows all desktops’ and ā€˜Toggle Grid View’ - then you can edit and change them as you like.

Nope still active even with that.

I too have had a long standing issue with similar behavior in KDE, and I’ve never really understood why. For at least 5 years I’ve used an Elegato trackball with a number of ā€œextraā€ buttons, and all will map normally except the furthest right. It will register an xev event as ā€œbutton 12ā€ when clicked, but the DE never sees it if I attempt to map it to something in KDE that way you are. It’s like a dead button I just have to ignore, and it’s never been an annoyance enough to figure out fixing it.

Not sure why it would refuse to acknowledge an xev click as a button event to bind it in any regard, when weirdly clicking it on a window will actually raise it up in KDE, but not do anything more like a left/right/middle/forward/backward in any way.

I suspect at a usb level most buttons are mapped with a logical reference to say ā€œforwardā€ or ā€œbackā€, left-click, right-click, etc that the OS/DE can map them to common features, but simply extra buttons do not, and x/DE doesn’t know what to do with it, yet does register. This seems odd that the DE still refuses to register the x events from input, but I remember it being this way any time I’ve ever had an exotic mouse with many extra buttons.

I do get this lots with joysticks like my saitek hotas setup with plethora-o-buttons in linux as well where some will grab from input for mapping easily and others will not from steam or native games, but otherwise register x button events normally. For that I usually have to use some joystick-to-key bind to an unused key, and then map the game to key press (may work for you too, ymmv).

Not sure if this is at the x/wayland or kde level, but it certainly has been annoying for a long time.

my only suggestion is that a complex mouse like that will likely employ firmware settings to dictated the codes (or even strings) that are sent when the button is pressed.

if the code that is sent is not recognized as the standard HID code for the BACK and FORWARD functions, the it will simply be ignored by linux… so remapping it will be impossible.

you can try input remapper which offers capability to intercept a wider array of codes than what might be expected from an ordinary HID mouse.

but my best advice is to go back and run the windows proprietary program that came with the mouse and use that to reset those buttons (or the whole thing) back to factory defaults… that’s your best chance at having it generate the standard HID codes for the buttons and axis sensors.

1 Like

Some mice have buttons that are quite literally sending keyboard signals, and may not be configurable in the normal manners.

Some mice may need Solaar (Logitech) or Piper (many, including Logitech) to be able to change the button actions. Or some tool like input-remapper (gui) or similar utilities to do this, particularly for more advance options or for less popular mice, like my MX Master knockoff.

My last mouse was able to be configured using the KDE dialogs, though it had two different entries in the device selection drop-down.

1 Like

Thanks, @claydoh and @skyfishgoo! input-remapper worked!

Operating System: Fedora Linux 42
KDE Plasma Version: 6.4.4
KDE Frameworks Version: 6.17.0
Qt Version: 6.9.1
Kernel Version: 6.16.4-200.fc42.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 12 Ɨ AMD Ryzen 5 7600X 6-Core Processor
Memory: 32 GiB of RAM (30.4 GiB usable)
Graphics Processor 1: AMD Radeon RX 7900 XTX
Graphics Processor 2: AMD Radeon Graphics
Manufacturer: ASRock
Product Name: X670E Taichi
1 Like