Unable to map cmd + function key
- Dominant language
- C
- Stars
- 8.1k
- Forks
- 241
- PR merge metrics
- No merged PRs in 30d
Description
I was unable to map cmd + function key on my Razer keyboard.
Here's the `skhd -o` output
When pressed cmd `keycode: 0x37 flags: 000000000001000000000001000010000 `
When pressed cmd + F4 `keycode: 0x76 flags: 00000000100100000000000100001000`
In the `.skhdrc` I have this line that opens the terminal, and it works on Mac's keyboard.
```
# open Terminal
cmd - 0xB1 : open -a Terminal
```
So when I add another line to open the terminal using my external keyboard, it just doesn't work, even after restarting the service
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the external-keyboard shortcut with the reported `skhd -o` keycodes and compare it with the working Mac keyboard mapping in `.skhdrc`. Trace how `skhd` handles modifier and function-key input, then verify that a cmd+F4 mapping opens Terminal with the external keyboard.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c, macos
- Domain
- cli, operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100