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>
parent
592c07a6b9
commit
4b997e45e7
Loading…
Reference in new issue