File tree Expand file tree Collapse file tree
rootfs/usr/share/inputplumber Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ # yaml-language-server: $schema=https://raw.githubusercontent.com/ShadowBlip/InputPlumber/main/rootfs/usr/share/inputplumber/schema/capability_map_v1.json
2+ # Schema version number
3+ version : 1
4+
5+ # The type of configuration schema
6+ kind : CapabilityMap
7+
8+ # Name for the device event map
9+ name : MSI Claw Type 2
10+
11+ # Unique identifier of the capability mapping
12+ id : claw2
13+
14+ # List of mapped events that are activated by a specific set of activation keys.
15+ mapping :
16+ - name : Guide (Short)
17+ source_events :
18+ - keyboard : KeyF15
19+ - keyboard : KeyG
20+ target_event :
21+ gamepad :
22+ button : Guide
23+ - name : Guide (Long)
24+ source_events :
25+ - keyboard : KeyF15
26+ - keyboard : KeyTab
27+ target_event :
28+ gamepad :
29+ button : Guide
30+ - name : QuickAccess
31+ source_events :
32+ - keyboard : KeyF16
33+ target_event :
34+ gamepad :
35+ button : QuickAccess
36+
37+ # Driver hid-msi-claw maps the M-Keys to these events with our udev rule
38+ - name : M1
39+ source_events :
40+ - keyboard : KeyRightBrace
41+ target_event :
42+ gamepad :
43+ button : RightPaddle1
44+ - name : M2
45+ source_events :
46+ - keyboard : KeyLeftBrace
47+ target_event :
48+ gamepad :
49+ button : LeftPaddle1
50+
51+ # List of events to filter from the source devices
52+ filtered_events : []
Original file line number Diff line number Diff line change @@ -37,7 +37,6 @@ source_devices:
3737 - Keyboard:KeyF15
3838 - Keyboard:KeyF16
3939 - Keyboard:KeyG
40- - Keyboard:KeyLeftMeta
4140 - Keyboard:KeyTab
4241 - Keyboard:KeyVolumeDown
4342 - Keyboard:KeyVolumeUp
@@ -146,4 +145,4 @@ target_devices:
146145 - keyboard
147146
148147# The ID of a device event mapping in the 'event_maps' folder
149- capability_map_id : claw1
148+ capability_map_id : claw2
You can’t perform that action at this time.
0 commit comments