evdev: Add event process dispatching
authorJonas Ådahl <jadahl@gmail.com>
Thu, 17 May 2012 10:18:16 +0000 (12:18 +0200)
committerJonas Ådahl <jadahl@gmail.com>
Sun, 10 Nov 2013 16:51:28 +0000 (17:51 +0100)
commit812e1e2bdc5cfd4daf49ca739e7222563cbe6ac0
tree1ada4e5ef7493c8027e576f9a7718777c21059b5
parent93c5aa06d5981545f86d0f119165ea72a0bb5984
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/evdev-private.h [new file with mode: 0644]
src/evdev.c