From e29714484c45c146d88dc6ab6f44319a18203c21 Mon Sep 17 00:00:00 2001 From: Takashi Kokubun Date: Mon, 13 Dec 2021 22:20:14 -0800 Subject: [PATCH] Change the hard-coded device --- src/input.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/input.rs b/src/input.rs index 3153867..19cfdca 100644 --- a/src/input.rs +++ b/src/input.rs @@ -4,6 +4,6 @@ use evdev::Device; pub fn select_device() -> Device { // TODO: stop hard-coding the device - let device = Device::open("/dev/input/event2"); + let device = Device::open("/dev/input/event19"); return device.unwrap(); }