-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(MSI Claw 8):Add support for MSI Claw 8.
- Loading branch information
Showing
1 changed file
with
54 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
# yaml-language-server: $schema=https://raw.githubusercontent.com/ShadowBlip/InputPlumber/main/rootfs/usr/share/inputplumber/schema/composite_device_v1.json | ||
# Schema version number | ||
version: 1 | ||
|
||
# The type of configuration schema | ||
kind: CompositeDevice | ||
|
||
# Name of the composite device mapping | ||
name: MSI Claw 8 | ||
|
||
# Only allow a single source device per composite device of this type. | ||
single_source: false | ||
|
||
# Only use this profile if *any* of the given matches match. If this list is | ||
# empty, then the source devices will *always* be checked. | ||
# /sys/class/dmi/id/product_name | ||
matches: | ||
- dmi_data: | ||
product_name: "Claw 8 AI+ A2VM" | ||
sys_vendor: "Micro-Star International Co., Ltd." | ||
|
||
# One or more source devices to combine into a single virtual device. The events | ||
# from these devices will be watched and translated according to the key map. | ||
source_devices: | ||
# Extra Buttons | ||
- group: keyboard | ||
evdev: | ||
name: AT Translated Set 2 keyboard | ||
phys_path: isa0060/serio0/input0 | ||
|
||
# Gamepad | ||
- group: gamepad | ||
evdev: | ||
vendor_id: "0db0" | ||
product_id: "1901" | ||
phys_path: "usb-0000:00:14.0-2/input0" | ||
|
||
# IMU | ||
|
||
# Optional configuration for the composite device | ||
options: | ||
# If true, InputPlumber will automatically try to manage the input device. If | ||
# this is false, InputPlumber will not try to manage the device unless an | ||
# external service enables management of the device. Defaults to 'false' | ||
auto_manage: true | ||
|
||
# The target input device(s) to emulate by default | ||
target_devices: | ||
- xbox-elite | ||
- mouse | ||
- keyboard | ||
|
||
# The ID of a device event mapping in the 'event_maps' folder | ||
capability_map_id: claw1 |