evdev: Add event process dispatching
authorJonas Ådahl <jadahl@gmail.com>
Thu, 17 May 2012 10:18:16 +0000 (12:18 +0200)
committerKristian Høgsberg <krh@bitplanet.net>
Thu, 17 May 2012 15:33:41 +0000 (11:33 -0400)
commit4136d82760496cff9e10d36db6cfb9267389cd50
treee88e38476f2076a10420dfb01d9bd8f9e6b99100
parentd6ad122d9ac8856aa6d35cc690550c857caa5212
evdev: Add event process dispatching

By setting an 'evdev_dispatch' struct in 'evdev_input_device' during
device configuration the 'process' function in the associated interface
will be called with received input events. If none is set, a fallback
handler will be set instead that handle generic input functionality.

Signed-off-by: Jonas Ådahl <jadahl@gmail.com>
src/Makefile.am
src/evdev-private.h [new file with mode: 0644]
src/evdev.c