Skip to content

Instantly share code, notes, and snippets.

@gowizzard
Created October 9, 2022 07:12
Show Gist options
  • Save gowizzard/e045226b64c6b28a0700a36f350a7587 to your computer and use it in GitHub Desktop.
Save gowizzard/e045226b64c6b28a0700a36f350a7587 to your computer and use it in GitHub Desktop.
Linux Ubuntu .hwdb configuration for Kensington Expert Mouse.
# Override the mouse buttons for the kensington expert mouse.
evdev:name:Kensington Expert Mouse:*
KEYBOARD_KEY_90003=back
KEYBOARD_KEY_90004=forward
@baradhili
Copy link

My version - making the top two buttons left and right and moving middle and side to the bottom row

# Override the mouse buttons for the kensington expert mouse.
evdev:name:Kensington      Kensington Expert Mouse:*
  ID_INPUT_KEY=1
  KEYBOARD_KEY_90003=btn_right
  KEYBOARD_KEY_90004=btn_left
  KEYBOARD_KEY_90002=btn_middle
  KEYBOARD_KEY_90001=back

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment