Skip to content

Instantly share code, notes, and snippets.

@cxx
Last active July 20, 2024 07:53
Show Gist options
  • Save cxx/286d7fdb0064af0e303d3ca2fea8b218 to your computer and use it in GitHub Desktop.
Save cxx/286d7fdb0064af0e303d3ca2fea8b218 to your computer and use it in GitHub Desktop.
device_name = "ELECOM ELECOM UltimateLaser Mouse"
[[dual_role]]
input = "BTN_SIDE"
hold = ["KEY_LEFTSHIFT"]
tap = ["BTN_SIDE"]
[[dual_role]]
input = "BTN_EXTRA"
hold = ["KEY_LEFTCTRL"]
tap = ["BTN_EXTRA"]
[[dual_role]]
input = "BTN_TASK"
hold = ["KEY_LEFTMETA"]
tap = ["BTN_TASK"]
keymap:
- remap:
btn_back: volumedown
btn_forward: volumeup
Shift-btn_right: [btn_task, esc]
Shift-xdownscroll: [btn_task, pagedown]
Shift-xupscroll: [btn_task, pageup]
Shift-xrightscroll: [btn_task, C-pagedown]
Shift-xleftscroll: [btn_task, C-pageup]
Shift-btn_back: [btn_task, end]
Shift-btn_forward: [btn_task, home]
Shift-btn_task: Super-v # Show notification list
C-btn_middle: [btn_task, C-w]
C-btn_right: [btn_task, C-Shift-t]
C-xrightscroll: [btn_task, C-Shift-pagedown]
C-xleftscroll: [btn_task, C-Shift-pageup]
C-btn_back: mute
C-btn_forward: [btn_task, C-r]
C-btn_task: config
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment