MCPcopy Create free account
hub / github.com/BlitterStudio/amiberry / inputdevice_handle_inputcode_immediate

Function inputdevice_handle_inputcode_immediate

src/inputdevice.cpp:4602–4615  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4600static struct inputcode inputcode_pending[MAX_PENDING_EVENTS];
4601
4602static bool inputdevice_handle_inputcode_immediate(int code, int state)
4603{
4604 if (!state)
4605 return false;
4606 switch(code)
4607 {
4608 case AKS_ENTERDEBUGGER:
4609#ifdef DEBUGGER
4610 activate_debugger ();
4611#endif
4612 return true;
4613 }
4614 return false;
4615}
4616
4617
4618void inputdevice_add_inputcode (int code, int state, const TCHAR *s)

Callers 1

Calls 1

activate_debuggerFunction · 0.85

Tested by

no test coverage detected