mirror of
https://gitlab.com/interception/linux/plugins/caps2esc.git
synced 2025-04-05 14:22:54 +00:00
Make multi device example more robust
The previous one won't work when devices reattach.
This commit is contained in:
parent
c738e8783a
commit
186b887e7d
@ -75,14 +75,11 @@ example configuration taken from my laptop:
|
|||||||
```yaml
|
```yaml
|
||||||
SHELL: [zsh, -c]
|
SHELL: [zsh, -c]
|
||||||
---
|
---
|
||||||
- JOB: mux -c caps2esc
|
- JOB: mux -c caps2esc; mux -i caps2esc | caps2esc | uinput -d /dev/input/by-path/platform-i8042-serio-0-event-kbd
|
||||||
- JOB:
|
- JOB: intercept -g $DEVNODE | mux -o caps2esc
|
||||||
- intercept -g $DEVNODE | mux -o caps2esc
|
|
||||||
- mux -i caps2esc | caps2esc | uinput -d $DEVNODE
|
|
||||||
DEVICE:
|
DEVICE:
|
||||||
LINK: /dev/input/by-path/platform-i8042-serio-0-event-kbd
|
LINK: /dev/input/by-path/platform-i8042-serio-0-event-kbd
|
||||||
- JOB:
|
- JOB: intercept $DEVNODE | mux -o caps2esc
|
||||||
- intercept $DEVNODE | mux -o caps2esc
|
|
||||||
DEVICE:
|
DEVICE:
|
||||||
LINK: /dev/input/by-path/platform-i8042-serio-4-event-mouse
|
LINK: /dev/input/by-path/platform-i8042-serio-4-event-mouse
|
||||||
```
|
```
|
||||||
|
Loading…
x
Reference in New Issue
Block a user