-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
TODO: - Rumble - CC/AC/Paddles
- Loading branch information
Showing
22 changed files
with
1,260 additions
and
54 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
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,57 @@ | ||
# 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: ASUS ROG Ally X | ||
|
||
# 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 matches. If this list is | ||
# empty, then the source devices will *always* be checked. | ||
# /sys/class/dmi/id/product_name | ||
matches: | ||
- dmi_data: | ||
board_name: RC72LA | ||
sys_vendor: ASUSTeK COMPUTER INC. | ||
|
||
# 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 | ||
hidraw: | ||
vendor_id: 0x0b05 | ||
product_id: 0x1b4c | ||
interface_num: 5 | ||
- group: gamepad | ||
unique: false | ||
blocked: true | ||
evdev: | ||
name: "{ASUSTeK Computer Inc. N-KEY Device, Asus Keyboard}" | ||
handler: event* | ||
phys_path: usb-0000:64:00.3-2/input5 | ||
#- group: keyboard | ||
# unique: false | ||
# evdev: | ||
# name: Asus Keyboard | ||
# phys_path: usb-0000:64:00.3-2/input[0-2] | ||
- group: imu | ||
iio: | ||
name: bmi323-imu | ||
mount_matrix: | ||
x: [-1, 0, 0] | ||
y: [0, 0, -1] | ||
z: [0, 1, 0] | ||
|
||
# The target input device(s) that the virtual device profile can use | ||
target_devices: | ||
- xbox-elite | ||
- mouse | ||
- keyboard | ||
|
||
# The ID of a device event mapping in the 'event_maps' folder | ||
capability_map_id: aly1 |
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
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
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 |
---|---|---|
|
@@ -4,3 +4,4 @@ pub mod iio_imu; | |
pub mod lego; | ||
pub mod opineo; | ||
pub mod steam_deck; | ||
pub mod xpad_uhid; |
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
Oops, something went wrong.