pub fn decode(
    ev: &EvInputEvent,
    outer_state: &InputDeviceState
) -> Vec<InputEvent>