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

Method Shutdown

pcsx2/Input/DInputSource.cpp:155–168  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

153}
154
155void DInputSource::Shutdown()
156{
157 while (!m_controllers.empty())
158 {
159 const u32 index = static_cast<u32>(m_controllers.size() - 1);
160 InputManager::OnInputDeviceDisconnected({{.source_type = InputSourceType::DInput, .source_index = index}},
161 GetDeviceIdentifier(index));
162 m_controllers.pop_back();
163 }
164
165 m_toplevel_window = nullptr;
166 m_dinput.reset();
167 m_dinput_module.reset();
168}
169
170bool DInputSource::IsInitialized()
171{

Callers 2

CloseSourcesMethod · 0.45

Calls 4

emptyMethod · 0.45
sizeMethod · 0.45
pop_backMethod · 0.45
resetMethod · 0.45

Tested by

no test coverage detected