Skip to content
Commit 0da2298f authored by John Neffenger's avatar John Neffenger
Browse files

Get only two bytes for the Linux input event type

The Linux input event type is defined in <linux/input.h> as an unsigned
short, two bytes in size, but the constructor for LinuxEventBuffer reads
four bytes for the type by calling the method getInt(int). Change this
method call to getShort(int).

Fixes #3
parent 7619c213
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment