MCPcopy Create free account
hub / github.com/DaedalusX64/daedalus / CheckPadStatusVblHandler

Function CheckPadStatusVblHandler

Source/SysGL/Input/InputManagerGL.cpp:59–70  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

57}
58
59static void CheckPadStatusVblHandler( void * arg )
60{
61 IInputManager * manager = static_cast< IInputManager * >( arg );
62
63 // Only check the pad status every 60 vbls, otherwise it's too expensive.
64 static u32 count = 0;
65 if ((count % 60) == 0)
66 {
67 manager->GetGamePadStatus();
68 }
69 ++count;
70}
71
72bool IInputManager::Initialise()
73{

Callers

nothing calls this directly

Calls 1

GetGamePadStatusMethod · 0.80

Tested by

no test coverage detected