Missed documentation for key_state_t
Adapater and adapters code