-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.yaml
59 lines (57 loc) · 1.13 KB
/
config.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
---
# Logitech Pro Gaming Keyboard
- device:
vendor: 0x46d
product: 0xc339
version: 0x111
keys:
# Play/Pause key down
- type: 1
code: 164
value: 1
command: kcalc
background: true
# FastForward key down
- type: 1
code: 163
value: 1
command: drawio
background: true
# Pause/Break key
- type: 1
code: 119
value: 1
command:
- ~/bin/bose.sh
- toggle
- "{{ device[cap=17,subcap=7].path }}"
# Bose 700 ACM Headphones
- device:
vendor: 0x5a7
product: 0xa310
version: 0x111
keys:
# MSC_SCAN on KEY_MICMUTE longpress
- type: 4
code: 4
value: b002f
command:
- ~/bin/bose.sh
- toggle
- "{{ device.path }}"
# MSC_SCAN on BTN_0 press
- type: 4
code: 4
value: ff990004
command:
- ~/bin/bose.sh
- toggle
- "{{ device[cap=17,subcap=7].path }}"
# MSC_SCAN on KEY_PLAY (hangup)
- type: 4
code: 4
value: c00b0
command:
- ~/bin/bose.sh
- hangup
- "{{ device[cap=17,subcap=7].path }}"