From 29d2583448ceec14b999fcbad5c21b87a1276db8 Mon Sep 17 00:00:00 2001 From: HikariKnight <2557889+HikariKnight@users.noreply.github.com> Date: Sat, 11 Jul 2026 16:23:01 +0200 Subject: [PATCH] fix(Hardware Support): Add 8bitdo Pro3 Blocking the DInput evdev seems to be enough to get this controller working, might be able to reuse support for the 8bitdo ultimate 2 when that is merged, as the controllers are functionally very similar --- .../inputplumber/devices/60-8bitdo_pro3.yaml | 55 +++++++++++++++++++ 1 file changed, 55 insertions(+) create mode 100644 rootfs/usr/share/inputplumber/devices/60-8bitdo_pro3.yaml diff --git a/rootfs/usr/share/inputplumber/devices/60-8bitdo_pro3.yaml b/rootfs/usr/share/inputplumber/devices/60-8bitdo_pro3.yaml new file mode 100644 index 00000000..44066934 --- /dev/null +++ b/rootfs/usr/share/inputplumber/devices/60-8bitdo_pro3.yaml @@ -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 + - 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