summaryrefslogtreecommitdiffstats
path: root/libsensors/input.c
diff options
context:
space:
mode:
Diffstat (limited to 'libsensors/input.c')
-rw-r--r--libsensors/input.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libsensors/input.c b/libsensors/input.c
index 5a58b45..cdd82c9 100644
--- a/libsensors/input.c
+++ b/libsensors/input.c
@@ -88,6 +88,7 @@ int uinput_rel_create(const char *name)
rc |= ioctl(uinput_fd, UI_SET_RELBIT, REL_X);
rc |= ioctl(uinput_fd, UI_SET_RELBIT, REL_Y);
rc |= ioctl(uinput_fd, UI_SET_RELBIT, REL_Z);
+ rc |= ioctl(uinput_fd, UI_SET_RELBIT, REL_MISC);
rc |= ioctl(uinput_fd, UI_SET_EVBIT, EV_SYN);
if (rc < 0) {