Remap thumb buttons on the Evoluent Vertical Mouse under Linux

https://blog.narf.ssji.net/2024/12/29/remap-thumb-buttons-on-the-evoluent-vertical-mouse-under-linux/

I use an Evoluent Vertical Mouse (VM4R). One of its advantage is the number of buttons. Instead of their defaults, I’d like to remap them to keypresses. I want to do this system-wide without an extra service.

This can be done via the hwdb subsystem. This has the advantage of being a fairly generic solution, which allows remapping any key/button to any other.

#EvoluentVerticalMouse #hwdb #Linux #systemd #Wayland

Remap thumb buttons on the Evoluent Vertical Mouse under Linux - Narf

I use an Evoluent Vertical Mouse (VM4R). One of its advantage is the number of buttons. Instead of their defaults, I'd like to remap them to keypresses. I want to do this system-wide without an extra service. This can be done via the hwdb subsystem. This has the advantage of being a fairly generic solution, which allows remapping any key/button to any other.

Narf - The blagosphere got me...

When working on the #gmobile #hwdb bits for #phosh I noticed there's no syntax highlighting in #emacs for those so I added some:

https://github.com/agx/systemd-hwdb-mode/

Happy about any improvements as my #elisp isn't great.

#systemd

GitHub - agx/systemd-hwdb-mode: Emacs major mode for systemd's hwdb files

Emacs major mode for systemd's hwdb files. Contribute to agx/systemd-hwdb-mode development by creating an account on GitHub.

GitHub

Want to configure which hardware buttons unblank the screen of your 📱 with #phosh? Here's how (and submitting your changes upstream will fix it for others too): https://phosh.mobi/posts/wakeup-keys/

#libinput #phoc #hwdb #udev #LinuxMobile

Don't unblank in my back pack please

Since phoc 0.39.0 it is possible to configure which keys unidle your phone (which results in unblanking the screen). The current default is that all keys unblank which is usually fine for e.g. laptops but not the desired result for phones and tablets where this depends on the position and function of keys. Volume keys and other exposed keys usually shouldn’t unblank - maybe with the exception of some Home buttons on devices that have those.

@kuketzblog
Das schöne Wetter ☔ habe ich dazu genutzt, auf meiner #multiseat-#linux-Box dem #pulseaudio Manieren beizubringen. Das läuft jetzt im systemmode und via Anpassungen an der #hwdb von #systemd haben die Sounddevices jetzt allgemeinverständliche Namen, z.B. "Anja's Kopfhörer" statt "Intel USB PNP device". So kann jetzt jeder User den Ton von jedem Programm an die richtige Ausgabe umleiten 👍

I remapped my mouse buttons with #udev #hwdb #linux

/etc/udev/hwdb.d/99-mouse.hwdb:

mouse:usb:v046dpc05a:name:*
KEYBOARD_KEY_90002=272
KEYBOARD_KEY_90001=273