evdev: if mtdev failed to open, fail to init the device
authorPeter Hutterer <peter.hutterer@who-t.net>
Wed, 5 Feb 2014 23:26:00 +0000 (09:26 +1000)
committerPeter Hutterer <peter.hutterer@who-t.net>
Wed, 5 Feb 2014 23:46:34 +0000 (09:46 +1000)
commite13f736cfffc071990fdd4292e00e3886e73bd42
tree5d6797f728c97dc8df4a8cb948350c6907203088
parent9d3fbabb5e3b078b757e74f2176ed0e45bebd1c1
evdev: if mtdev failed to open, fail to init the device

We can't handle protocol A devices properly without mtdev, so skip the device
altogether.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
src/evdev.c