Skip to content

Commit e8d7835

Browse files
LukeShortCloudpastaq
authored andcommitted
feat(GPD Win4): add 2025 model
1 parent a058354 commit e8d7835

File tree

1 file changed

+19
-2
lines changed

1 file changed

+19
-2
lines changed

rootfs/usr/share/inputplumber/devices/50-gpd_win4.yaml

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ matches:
2222
# One or more source devices to combine into a single virtual device. The events
2323
# from these devices will be watched and translated according to the key map.
2424
source_devices:
25+
# GPD Win4 2022 (6800U)
2526
- group: gamepad
2627
evdev:
2728
name: "Microsoft X-Box 360 pad"
@@ -36,8 +37,24 @@ source_devices:
3637
iio:
3738
name: i2c-BMI0160:00
3839
mount_matrix:
39-
# Tested on 6800U
40-
# TODO: Verify on other models
40+
x: [-1, 0, 0]
41+
y: [0, -1, 0]
42+
z: [0, 0, 1]
43+
# GPD Win4 2025 (HX 370)
44+
- group: gamepad
45+
evdev:
46+
name: "Microsoft X-Box 360 pad"
47+
phys_path: usb-0000:66:00.0-2.1/input0
48+
handler: event*
49+
- group: keyboard
50+
evdev:
51+
name: " Mouse for Windows"
52+
handler: event*
53+
phys_path: usb-0000:66:00.0-2.2/input1
54+
- group: imu
55+
iio:
56+
name: i2c-BMI0260:00
57+
mount_matrix:
4158
x: [-1, 0, 0]
4259
y: [0, -1, 0]
4360
z: [0, 0, 1]

0 commit comments

Comments
 (0)