evdev: warn about missing input devices
authorPekka Paalanen <ppaalanen@gmail.com>
Thu, 5 Jan 2012 14:41:21 +0000 (16:41 +0200)
committerJonas Ådahl <jadahl@gmail.com>
Sun, 10 Nov 2013 16:51:27 +0000 (17:51 +0100)
commit36392fbd24e738c1535cb6bf2dcb68828ff2f7ca
tree10a050ccde210cd5212fef26280cb8e54c86fb28
parent837e433973276408da0f135003de168eedd9eb3c
evdev: warn about missing input devices

Usually there should be at least one input device, when Weston starts
up, or is reactivated by a VT switch. Add a nice warning, in case there
are no input devices.

This is to give a clue to users who happen to try Weston on DRM, and
do not get any response.

Add also a message to another failure case, that may lead to missing
input devices.

Signed-off-by: Pekka Paalanen <ppaalanen@gmail.com>
src/evdev.c