Remap mouse buttons
- Dominant language
- C
- Stars
- 8.1k
- Forks
- 241
- PR merge metrics
- No merged PRs in 30d
Description
## Problem
Is there a way to remap mouse buttons M4 and M5 (forward and backward)? In particular, I would like to move across workspaces with
```
ctrl - M4 : skhd -k "ctrl - left"
ctrl - M5 : skhd -k "ctrl - right"
```
I could not find the keycodes for any mouse button, and it seems that mices do not actually send normal keyboard strokes. Are they implemented in skhd? In case, there is no mention in #1.
Contributor guide
No contributing guide indexed for this repository
Research direction
The issue identifies skhd's mouse-button handling and the M4/M5 mappings as the starting points; inspect the daemon's input-event and keycode entry points first. Confirm how macOS reports forward and backward mouse buttons, then verify that Ctrl-M4 and Ctrl-M5 trigger the requested workspace navigation. Done means both mappings work reliably.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c, macos
- Domain
- desktop
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100