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
Loading
Please register or sign in to comment