Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
55 changes: 55 additions & 0 deletions rootfs/usr/share/inputplumber/devices/60-8bitdo_pro3.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
# 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: 8BitDo Pro 3

# 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: []

# Only allow a single source device per composite device of this type.
single_source: false

# Maximum number of source devices per CompositeDevice.
maximum_sources: 2

# 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:
# Dinput/SteamInput Mode
- group: gamepad
blocked: true
evdev:
name: "8BitDo Pro 3"
vendor_id: "2dc8"
product_id: "6009"
capability_map_id: dinput_generic
- group: gamepad
hidraw:
vendor_id: 0x2dc8
product_id: 0x6009
interface_num: 0
# XInput/Receiver Mode

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This section is carried over from the ultimate 2 and should be removed

- group: gamepad
blocked: true
evdev:
name: "8BitDo Ultimate 2 Wireless Controller"
vendor_id: "2dc8"
product_id: "310b"
- group: gamepad
hidraw:
vendor_id: 0x2dc8
product_id: 0x310b
interface_num: 0

# The target input device(s) to emulate by default
target_devices:
- gamepad
- mouse
- keyboard