mirror of
https://github.com/isledecomp/isle-portable.git
synced 2026-01-28 01:41:16 +00:00
Close other devices
This commit is contained in:
parent
5b6289fd0f
commit
125d3272f6
@ -101,6 +101,16 @@ void LegoInputManager::Destroy()
|
|||||||
|
|
||||||
SDL_CloseGamepad(joystick.first);
|
SDL_CloseGamepad(joystick.first);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
for (const auto& [id, mouse] : m_mice) {
|
||||||
|
if (mouse.second) {
|
||||||
|
SDL_CloseHaptic(mouse.second);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
for (const auto& [id, haptic] : m_otherHaptics) {
|
||||||
|
SDL_CloseHaptic(haptic);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x1005c0f0
|
// FUNCTION: LEGO1 0x1005c0f0
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user