Skip to content

Commit 6cc5458

Browse files
committed
add name match for touchpad
1 parent d7353ed commit 6cc5458

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/hhd/device/legion_go/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ def controller_loop_xinput(conf: Config, should_exit: TEvent, updated: TEvent):
213213
d_touch = GenericGamepadEvdev(
214214
vid=[0x17EF],
215215
pid=[0x6182],
216-
# name=[" Legion Controller for Windows Touchpad"],
216+
name=[re.compile(".+Touchpad")], # " Legion Controller for Windows Touchpad"
217217
capabilities={EC("EV_KEY"): [EC("BTN_MOUSE")]},
218218
btn_map=LGO_TOUCHPAD_BUTTON_MAP,
219219
axis_map=LGO_TOUCHPAD_AXIS_MAP,

0 commit comments

Comments
 (0)