-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(Controller): add device profile for Switch Pro controller
- Loading branch information
1 parent
6f99095
commit 2687134
Showing
1 changed file
with
30 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,30 @@ | ||
# yaml-language-server: $schema=../schema/composite_device_v1.json | ||
# Schema version number | ||
version: 1 | ||
|
||
# The type of configuration schema | ||
kind: CompositeDevice | ||
|
||
# Name of the composite device mapping | ||
name: Nintendo Co., Ltd. Pro Controller | ||
|
||
# Only use this profile if *any* of the given matches matches. If this list is | ||
# empty, then the source devices will *always* be checked. | ||
# /sys/class/dmi/id/product_name | ||
matches: [] | ||
|
||
# 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: | ||
- group: gamepad | ||
evdev: | ||
name: Nintendo Co., Ltd. Pro Controller | ||
#- group: imu | ||
# evdev: | ||
# name: Nintendo Co., Ltd. Pro Controller (IMU) | ||
|
||
# The target input device(s) that the virtual device profile can use | ||
target_devices: | ||
- gamepad | ||
- mouse | ||
- keyboard |