-record(key_event_state, { keypad :: boolean(), capslock :: boolean(), numlock :: boolean() }).