MCPcopy Create free account
hub / github.com/PCSX2/pcsx2 / PollSources

Method PollSources

pcsx2/Input/InputManager.cpp:1697–1709  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1695}
1696
1697void InputManager::PollSources()
1698{
1699 for (u32 i = FIRST_EXTERNAL_INPUT_SOURCE; i < LAST_EXTERNAL_INPUT_SOURCE; i++)
1700 {
1701 if (s_input_sources[i]->IsInitialized())
1702 s_input_sources[i]->PollEvents();
1703 }
1704
1705 GenerateRelativeMouseEvents();
1706
1707 if (VMManager::GetState() == VMState::Running && !s_pad_vibration_array.empty())
1708 UpdateContinuedVibration();
1709}
1710
1711
1712std::vector<std::pair<std::string, std::string>> InputManager::EnumerateDevices()

Callers

nothing calls this directly

Calls 3

IsInitializedMethod · 0.45
PollEventsMethod · 0.45
emptyMethod · 0.45

Tested by

no test coverage detected