evdev: Avoid unintended case drop through
authorRob Bradford <rob@linux.intel.com>
Tue, 9 Oct 2012 17:44:31 +0000 (18:44 +0100)
committerJonas Ådahl <jadahl@gmail.com>
Sun, 10 Nov 2013 16:51:31 +0000 (17:51 +0100)
commit7e10eff8f3e7855bc63279c52e1f8074767b209d
tree96c5738372caf58be3732cf63361b39646753c3b
parent56b178cc00691e3a831b6f4828378a6a4def993b
evdev: Avoid unintended case drop through

e->code is in the same range for ABS_ and for REL_. As the code currently
stands and for the current values in Linux's input.h there is no risk of a
problem. However just in case it would be wise to break after evaluating the
relative events.

Signed-off-by: Rob Bradford <rob@linux.intel.com>
src/evdev.c