mirror of
https://github.com/hyprwm/hyprland-wiki.git
synced 2024-11-26 06:25:59 +01:00
keycode binds
This commit is contained in:
parent
46ff78998e
commit
8e5e653713
1 changed files with 2 additions and 2 deletions
|
@ -39,11 +39,11 @@ written in all lowercase.
|
||||||
If you are unsure of what your key's name is, you can
|
If you are unsure of what your key's name is, you can
|
||||||
use `xev` or `wev` to find that information.
|
use `xev` or `wev` to find that information.
|
||||||
|
|
||||||
If you want to bind by a keycode, you can just input it in the KEY position,
|
If you want to bind by a keycode, you can just input it in the KEY position with a `code:` prefix,
|
||||||
e.g.:
|
e.g.:
|
||||||
|
|
||||||
```ini
|
```ini
|
||||||
bind=SUPER,28,exec,amongus
|
bind=SUPER,code:28,exec,amongus
|
||||||
```
|
```
|
||||||
|
|
||||||
Will bind <key>SUPER</key> + <key>T</key>. (<key>T</key> is keycode 28.) - You
|
Will bind <key>SUPER</key> + <key>T</key>. (<key>T</key> is keycode 28.) - You
|
||||||
|
|
Loading…
Reference in a new issue