keyswitch_state
enum keyswitch_state key;
enum keyswitch_state key_shadow; /* external state of the key switch */