From 7068a7505a140f2409b8dee2f9f765db084bc965 Mon Sep 17 00:00:00 2001 From: Aarron Lee Date: Fri, 27 Sep 2024 17:13:51 -0400 Subject: [PATCH] fix(gpd_win4): fix back buttons --- .../usr/share/inputplumber/capability_maps/gpd_type3.yaml | 4 ++-- rootfs/usr/share/inputplumber/devices/50-gpd_win4.yaml | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/rootfs/usr/share/inputplumber/capability_maps/gpd_type3.yaml b/rootfs/usr/share/inputplumber/capability_maps/gpd_type3.yaml index 9efe0590..4f2f84b3 100644 --- a/rootfs/usr/share/inputplumber/capability_maps/gpd_type3.yaml +++ b/rootfs/usr/share/inputplumber/capability_maps/gpd_type3.yaml @@ -15,13 +15,13 @@ id: gpd3 mapping: - name: Left Paddle source_events: - - keyboard: KeyPause + - keyboard: KeySysrq target_event: gamepad: button: LeftPaddle1 - name: Right Paddle source_events: - - keyboard: KeySysrq + - keyboard: KeyPause target_event: gamepad: button: RightPaddle1 diff --git a/rootfs/usr/share/inputplumber/devices/50-gpd_win4.yaml b/rootfs/usr/share/inputplumber/devices/50-gpd_win4.yaml index f49edf7d..ad7d7fe7 100644 --- a/rootfs/usr/share/inputplumber/devices/50-gpd_win4.yaml +++ b/rootfs/usr/share/inputplumber/devices/50-gpd_win4.yaml @@ -24,14 +24,14 @@ matches: source_devices: - group: gamepad evdev: - name: Microsoft X-Box 360 pad + name: "Microsoft X-Box 360 pad" phys_path: usb-0000:73:00.3-4.1/input0 handler: event* - group: keyboard evdev: - name: Mouse for Windows - phys_path: usb-0000:73:00.3-4.2/input0 + name: " Mouse for Windows" handler: event* + phys_path: usb-0000:73:00.3-4.2/input1 - group: imu iio: name: i2c-BMI0160:00