When building on a system with an older kernel, some KEY_ macros might
be missing. To be able to build on such system, define them if they are
missing.
It is probably better to keep our own copy of input.h somewhere in our
tree, and include that one instead of the system one, but that can be
added later.
Signed-off-by: Jonas Ådahl <jadahl@opera.com>
#define DEFAULT_AXIS_STEP_DISTANCE li_fixed_from_int(10)
+#ifndef KEY_LIGHTS_TOGGLE
+#define KEY_LIGHTS_TOGGLE 0x160
+#endif
+
void
evdev_device_led_update(struct evdev_device *device, enum libinput_led leds)
{