-
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(ps4): add profile for limited ps4 support and xbox 360 product
- Loading branch information
1 parent
5b828d3
commit b43758c
Showing
2 changed files
with
38 additions
and
1 deletion.
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,37 @@ | ||
# 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: Sony Interactive Entertainment Wireless 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: [] | ||
|
||
source_devices: | ||
# Read events from the evdev device | ||
- group: gamepad | ||
evdev: | ||
name: Sony Interactive Entertainment Wireless Controller | ||
vendor_id: 054c | ||
product_id: 09cc | ||
|
||
# Block the hidraw device to prevent SDL usage of the device | ||
- group: gamepad | ||
blocked: true | ||
unique: false | ||
hidraw: | ||
vendor_id: 0x054c | ||
product_id: 0x09cc | ||
interface_num: 3 | ||
|
||
# The target input device(s) that the virtual device profile can use | ||
target_devices: | ||
- ds5-edge | ||
- mouse | ||
- keyboard |
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