From 160554e8a4e4167c9297a03b3ed03114e9f2e615 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torjus=20H=C3=A5kestad?= Date: Mon, 3 Jun 2024 03:53:06 +0200 Subject: [PATCH] Switch input device --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index ad2b69e..d042745 100644 --- a/main.go +++ b/main.go @@ -33,7 +33,7 @@ func main() { defer mbus.Close() // Start reading input events - input, err := evdev.OpenWithFlags("/dev/input/event1", os.O_RDONLY) + input, err := evdev.OpenWithFlags("/dev/input/by-id/usb-SteelSeries_SteelSeries_Rival_710_Gaming_Mouse-if02-event-kbd", os.O_RDONLY) if err != nil { panic(err) }