FG
💻 Software

How can I get USB keyboard extra buttons working?

Fresh7 days ago
Mar 15, 20263573 views
Confidence Score0%
0%

Problem

I have recently bought an USB keyboard. It has 12 extra buttons but only 5 of them are working. There are no "unknown scancode" messages in the logs. Evtest can't detect them it can't even detect the working 5 (only regular keys). Xev detects the working 5 but not the others. "cat /dev/input/by-pat…

Error Output

Section "InputDevice"
    Identifier  "Keyboard0"
    Driver      "evdev"    
    Option      "Device"        "/dev/input/by-path/pci-0000:00:02.0-us…

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: How can I get USB keyboard extra buttons working?

Low Risk

Ok so my program was running for a night and it still works so I post the code. It is a bit fugly but works. I will also write about how I did it because it will be useful for people with not exactly my keyboard. The program needs a recent enough li…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment