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) }