Skip to content

Commit 1dc4b02

Browse files
committed
add new firmware ID
1 parent 6978d8f commit 1dc4b02

File tree

1 file changed

+4
-2
lines changed
  • src/hhd/device/legion_go/tablet

1 file changed

+4
-2
lines changed

src/hhd/device/legion_go/tablet/base.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@
3737
0x6183: "dinput",
3838
0x6184: "dual_dinput",
3939
0x6185: "fps",
40+
# 2025 Firmware
41+
0x61eb: "xinput",
4042
}
4143

4244

@@ -253,15 +255,15 @@ def controller_loop_xinput(
253255
# Inputs
254256
d_xinput = GenericGamepadEvdev(
255257
vid=[0x17EF],
256-
pid=[0x6182],
258+
pid=[0x6182, 0x61eb],
257259
# name=["Generic X-Box pad"],
258260
capabilities={EC("EV_KEY"): [EC("BTN_A")]},
259261
required=True,
260262
hide=True,
261263
)
262264
d_touch = GenericGamepadEvdev(
263265
vid=[0x17EF],
264-
pid=[0x6182],
266+
pid=[0x6182, 0x61EB],
265267
name=[re.compile(".+Touchpad")], # " Legion Controller for Windows Touchpad"
266268
capabilities={EC("EV_KEY"): [EC("BTN_MOUSE")]},
267269
btn_map=LGO_TOUCHPAD_BUTTON_MAP,

0 commit comments

Comments
 (0)