asmvik / asmvik/skhd

`hyper - backspace` combination not working?

Open
#302 1 comment 4 reactions 0 assignees View on GitHub
Dominant language
C
Stars
8.1k
Forks
241
PR merge metrics
No merged PRs in 30d

Description

I'm using `hyper` (cmd + shift + alt + ctrl) with `backspace` on apple bluetooth wireless keyboard and for some reason I can't get the combination of these two keys to work.

I created the following skhdrc config:

```
hyper - backspace : echo "hello backspace" >&2
hyper - delete : echo "hello delete" >&2
hyper - space : echo "hello space" >&2
hyper - tab : echo "hello tab" >&2
```

Then I ran the following command to tail the skhd error logs:

```
tail -f /tmp/skhd_$USER.err.log
```

I can see:

```
hello space
hello tab
```

However, when I press the hyper + delete on my keyboard I can't get skhdrc to respond.

If I press `hyper + fn + delete`, I then see this output:

```
hello delete
```

However, I want it to work without pressing `fn` which I what I thought `backspace` would do.

The delete key on my keyboard maps to this keycode:

```
❯ skhd -o
keycode: 0x33 flags: 00000000000000000000000100000000
```

Any ideas?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the mappings with the shown skhdrc entries and `skhd -o`, comparing the keyboard's keycode for delete/backspace with the behavior of `hyper + fn + delete`. Trace how skhd interprets these key names and keycodes on macOS; done means `hyper + backspace` triggers the configured command without pressing fn.

Written by the indexing model from the issue text.

Assessment

Tech stack
macos
Domain
cli, operating-systems
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.