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

Function check_input_queue

src/inputdevice.cpp:4541–4551  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4539}
4540
4541static int check_input_queue (int evt)
4542{
4543 struct input_queue_struct *iq;
4544 int i;
4545 for (i = 0; i < INPUT_QUEUE_SIZE; i++) {
4546 iq = &input_queue[i];
4547 if (iq->evt == evt && iq->linecnt >= 0)
4548 return i;
4549 }
4550 return -1;
4551}
4552
4553static void queue_input_event (int evt, const TCHAR *custom, int state, int max, int linecnt, int autofire)
4554{

Callers 1

queue_input_eventFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected