pub fn decode_input_event(buf: &[u8; 16]) -> (u16, u16, i32)Expand description
Decode (type, code, value) from a 16-byte arm evdev input_event. The first
8 bytes are the timeval timestamp, ignored. Layout is ARM-32 specific
(timeval=8, type=2, code=2, value=4 = 16 bytes); a 64-bit target has a
24-byte input_event and this decoder would misread it.