Skip to content

Commit

Permalink
fix(MSI Claw 8):Add support for MSI Claw 8.
Browse files Browse the repository at this point in the history
  • Loading branch information
honjow authored and pastaq committed Jan 28, 2025
1 parent 8ac32c6 commit b7a9cc6
Showing 1 changed file with 54 additions and 0 deletions.
54 changes: 54 additions & 0 deletions rootfs/usr/share/inputplumber/devices/50-msi_claw8.yaml
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

0 comments on commit b7a9cc6

Please sign in to comment.