Get the key state of an event.
Referenced by scim_bridge_key_event_bridge_to_gdk(), and scim_bridge_key_event_bridge_to_qt().