Skip to content

Commit aae2e4f

Browse files
committed
fix(MSI Claw 8):Add support for MSI Claw 8.
1 parent 8ac32c6 commit aae2e4f

File tree

1 file changed

+54
-0
lines changed

1 file changed

+54
-0
lines changed
Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
# yaml-language-server: $schema=https://raw.githubusercontent.com/ShadowBlip/InputPlumber/main/rootfs/usr/share/inputplumber/schema/composite_device_v1.json
2+
# Schema version number
3+
version: 1
4+
5+
# The type of configuration schema
6+
kind: CompositeDevice
7+
8+
# Name of the composite device mapping
9+
name: MSI Claw 8
10+
11+
# Only allow a single source device per composite device of this type.
12+
single_source: false
13+
14+
# Only use this profile if *any* of the given matches match. If this list is
15+
# empty, then the source devices will *always* be checked.
16+
# /sys/class/dmi/id/product_name
17+
matches:
18+
- dmi_data:
19+
product_name: "Claw 8 AI+ A2VM"
20+
sys_vendor: "Micro-Star International Co., Ltd."
21+
22+
# One or more source devices to combine into a single virtual device. The events
23+
# from these devices will be watched and translated according to the key map.
24+
source_devices:
25+
# Extra Buttons
26+
- group: keyboard
27+
evdev:
28+
name: AT Translated Set 2 keyboard
29+
phys_path: isa0060/serio0/input0
30+
31+
# Gamepad
32+
- group: gamepad
33+
evdev:
34+
vendor_id: "0db0"
35+
product_id: "1901"
36+
phys_path: "usb-0000:00:14.0-2/input0"
37+
38+
# IMU
39+
40+
# Optional configuration for the composite device
41+
options:
42+
# If true, InputPlumber will automatically try to manage the input device. If
43+
# this is false, InputPlumber will not try to manage the device unless an
44+
# external service enables management of the device. Defaults to 'false'
45+
auto_manage: true
46+
47+
# The target input device(s) to emulate by default
48+
target_devices:
49+
- xbox-elite
50+
- mouse
51+
- keyboard
52+
53+
# The ID of a device event mapping in the 'event_maps' folder
54+
capability_map_id: claw1

0 commit comments

Comments
 (0)