DRM Client Library
sudo usermod -a -G input $USER
Power cycle machine for group to be applied
Locate your compiled keymap file at $HOME/.xkb/keymap.xkb
You can create on a desktop machine running X11 or Wayland:
mkdir -p $HOME/.xkb
xkbcomp $DISPLAY $HOME/.xkb/keymap.xkb
Ignore any warnings
The system compositor has control of the DRM driver when active. You can suspend this access by switching to a TTY terminal.
On Fedora and Ubuntu you can switch to a TTY terminal using the keyboard combo:
Ctl+Alt+F3
You can switch back to the System GUI using:
Ctl+Alt+F2
If you see permission denied errors the user has not been added to the input group:
Failed to open /dev/input/event2 (Permission denied)
Failed to open /dev/input/event17 (Permission denied)