wlroots/backend/libinput
Dominique Martinet 880c239657 libinput: fail if no input found on init
This runs through events pending at init on initialization so we can
tell if some devices are available.

Note that with the way wlr_device_lists is managed, this checks that
there is at least one device we handle - it doesn't have to be a
keyboard, but there is at least a mouse or tablet_pad or something
that we care about.

Instead of failing inconditionally it might be better to leave the
decision to the user, e.g. add a "backend_has_devices" function to
call later.

(Tested by moving /dev/input off)

Fixes #24.
2017-08-16 09:18:12 +02:00
..
backend.c libinput: fail if no input found on init 2017-08-16 09:18:12 +02:00
events.c Merge pull request #88 from 4e554c4c/alloc_crashing 2017-08-15 12:21:58 -04:00
keyboard.c Prevent alloc errors from crashing 2017-08-15 08:04:57 +02:00
pointer.c Refactor out wlr_pointer_state 2017-08-14 16:22:31 +02:00
tablet_pad.c Refactor out wlr_tablet_pad_state 2017-08-14 16:22:31 +02:00
tablet_tool.c Refactor out wlr_tablet_tool_state 2017-08-14 16:22:31 +02:00
touch.c Refactor out wlr_touch_state 2017-08-14 16:22:31 +02:00