Change the hard-coded device

pull/39/head
Takashi Kokubun 3 years ago
parent 6a8683304c
commit e29714484c
No known key found for this signature in database
GPG Key ID: 6FFC433B12EE23DD

@ -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();
}

Loading…
Cancel
Save