Process a key-up or -down event. A key is "registered" when it is pressed and then released, with no other keypresses or releases in between. Registered keys are passed to CheckKey() to see if it should trigger a visibility toggle, an immediate reboot, or be queued to be processed next time the foreground thread wants a key (eg, for the menu). We also keep track of which keys are currently down
source not stored for this graph (policy: none)