evdev: only use mtdev for Protocol A devices
authorPeter Hutterer <peter.hutterer@who-t.net>
Wed, 7 Aug 2013 01:04:45 +0000 (11:04 +1000)
committerJonas Ådahl <jadahl@gmail.com>
Sun, 10 Nov 2013 16:51:32 +0000 (17:51 +0100)
commitfe57a4e5fae8aa28b2ed3238ef89487087ecb282
tree694f19259fc0c22655b7e41fcb16d0b79a8fe10e
parent3f0ee131e1f0e291b0ce606dbea56c5584cf57d2
evdev: only use mtdev for Protocol A devices

For Protocol B devices, mtdev merely routes the events and is not needed.
For Protocol A devices, mtdev is needed, so fail for those devices now if we
mtdev fails.
src/evdev.c