Do not register EV_REL axis by default

Fixes #244, #245, #281.
master
pixl 2 years ago
parent 53c9c0a5e4
commit fe72e51155
No known key found for this signature in database
GPG Key ID: 1866C148CD593B6E
  1. 2
      src/logid/InputDevice.cpp

@ -57,8 +57,6 @@ InputDevice::InputDevice(const char* name)
}
libevdev_enable_event_type(device, EV_REL);
for(unsigned int i = 0; i < REL_CNT; i++)
libevdev_enable_event_code(device, EV_REL, i, nullptr);
int err = libevdev_uinput_create_from_device(device,
LIBEVDEV_UINPUT_OPEN_MANAGED, &ui_device);

Loading…
Cancel
Save