fix keyboard state access
* is somewhat playable already!