MCPcopy Create free account
hub / github.com/TeamWin/Team-Win-Recovery-Project / ProcessKey

Method ProcessKey

ui.cpp:340–391  ·  view source on GitHub ↗

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 from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 1

rebootFunction · 0.85

Tested by

no test coverage detected