pub const MAX_KEY_EVENTS: usize = 3;
The maximum number of key events that are emitted Key or PressedKeyState.