Skip to content

Commit aa7d127

Browse files
committed
add other legion modes
1 parent 1dc4b02 commit aa7d127

File tree

1 file changed

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

1 file changed

+6
-2
lines changed

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

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,10 @@
3838
0x6184: "dual_dinput",
3939
0x6185: "fps",
4040
# 2025 Firmware
41-
0x61eb: "xinput",
41+
0x61EB: "xinput",
42+
0x61EC: "dinput",
43+
0x61ED: "dual_dinput",
44+
0x61EE: "fps",
4245
}
4346

4447

@@ -133,6 +136,7 @@ def plugin_run(
133136
# Unhide all devices before exiting
134137
unhide_all()
135138

139+
136140
def controller_loop_rest(
137141
mode: str,
138142
pid: int,
@@ -255,7 +259,7 @@ def controller_loop_xinput(
255259
# Inputs
256260
d_xinput = GenericGamepadEvdev(
257261
vid=[0x17EF],
258-
pid=[0x6182, 0x61eb],
262+
pid=[0x6182, 0x61EB],
259263
# name=["Generic X-Box pad"],
260264
capabilities={EC("EV_KEY"): [EC("BTN_A")]},
261265
required=True,

0 commit comments

Comments
 (0)