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

Function inputdevice_read

src/inputdevice.cpp:3679–3691  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3677}
3678
3679static void inputdevice_read(void)
3680{
3681// if ((inputdevice_logging & (2 | 4)))
3682// write_log(_T("INPUTREAD\n"));
3683 inputdevice_read_msg(false);
3684#ifndef AMIBERRY // we handle input device reading based on SDL events in Amiberry
3685 if (inputread <= 0) {
3686 idev[IDTYPE_MOUSE].read();
3687 idev[IDTYPE_JOYSTICK].read();
3688 idev[IDTYPE_KEYBOARD].read();
3689 }
3690#endif
3691}
3692
3693static void maybe_read_input(void)
3694{

Callers 4

maybe_read_inputFunction · 0.85
inputdevice_hsyncFunction · 0.85
inputdevice_testreadFunction · 0.85

Calls 2

inputdevice_read_msgFunction · 0.85
readMethod · 0.45

Tested by

no test coverage detected