evdev: Combine evdev_handle_device() and evdev_configure_device()
authorKristian Høgsberg <krh@bitplanet.net>
Mon, 16 Dec 2013 19:01:56 +0000 (11:01 -0800)
committerKristian Høgsberg <krh@bitplanet.net>
Mon, 16 Dec 2013 23:11:30 +0000 (15:11 -0800)
commitd24a64ea30f1b21dca17f91988d89b56baa06989
tree2a8af8288a7cf778fd85691c507e5327b47200a9
parent1aaf3e42e2f09af84846c26b3e9e6c05acedd685
evdev: Combine evdev_handle_device() and evdev_configure_device()

We split the device probing and idenfication somewhat arbitrarily between
these two functions.  This commit combines them into one.  Return of -1
indicates error, 0 success, but succesful probing can return a device
with device->caps == 0, which means we don't handle the device.
src/evdev.c