diff --git a/LEGO1/lego/legoomni/src/input/legoinputmanager.cpp b/LEGO1/lego/legoomni/src/input/legoinputmanager.cpp index 2f61dc7e..432b4fe7 100644 --- a/LEGO1/lego/legoomni/src/input/legoinputmanager.cpp +++ b/LEGO1/lego/legoomni/src/input/legoinputmanager.cpp @@ -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; diff --git a/tools/ncc/skip.yml b/tools/ncc/skip.yml index c5ceef72..2bae0ab4 100644 --- a/tools/ncc/skip.yml +++ b/tools/ncc/skip.yml @@ -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" \ No newline at end of file