Use enum wl_keyboard_key_state instead of integer
authorDaniel Stone <daniel@fooishbar.org>
Wed, 30 May 2012 15:31:52 +0000 (16:31 +0100)
committerJonas Ådahl <jadahl@gmail.com>
Sun, 10 Nov 2013 16:51:29 +0000 (17:51 +0100)
commit5e29a127883f7ddc946a81d514e53741317fec3d
treeb8041657501ab48c86fb8b4c67fa2625e56fa86a
parent95b8738f31bef538457a2a64a1feb028d618babc
Use enum wl_keyboard_key_state instead of integer

Instead of using a uint32_t for state everywhere (except on the wire,
where that's still the call signature), use the new
wl_keyboard_key_state enum, and explicit comparisons.

Signed-off-by: Daniel Stone <daniel@fooishbar.org>
src/evdev.c