mirror of
https://github.com/isledecomp/isle-portable.git
synced 2026-01-12 10:41:15 +00:00
Fixes
This commit is contained in:
parent
125d3272f6
commit
e74cc4b252
@ -668,11 +668,11 @@ MxBool LegoInputManager::HandleTouchEvent(SDL_Event* p_event, TouchScheme p_touc
|
||||
|
||||
MxBool LegoInputManager::HandleRumbleEvent()
|
||||
{
|
||||
static bool hapticsInitialized = false;
|
||||
static bool g_hapticsInitialized = false;
|
||||
|
||||
if (!hapticsInitialized) {
|
||||
if (!g_hapticsInitialized) {
|
||||
InitializeHaptics();
|
||||
hapticsInitialized = true;
|
||||
g_hapticsInitialized = true;
|
||||
}
|
||||
|
||||
SDL_Haptic* haptic = nullptr;
|
||||
|
||||
@ -74,3 +74,6 @@ cksize: "Re-defined Windows name"
|
||||
fccType: "Re-defined Windows name"
|
||||
dwDataOffset: "Re-defined Windows name"
|
||||
fccType: "Re-defined Windows name"
|
||||
SDL_MouseID_v: "SDL-based name"
|
||||
SDL_JoystickID_v: "SDL-based name"
|
||||
SDL_TouchID_v: "SDL-based name"
|
||||
Loading…
Reference in New Issue
Block a user