This commit is contained in:
Christian Semmler 2025-06-03 17:22:57 -07:00
parent a12f2ee179
commit 97d192543d
No known key found for this signature in database
GPG Key ID: 086DAA1360BEEE5C

View File

@ -551,9 +551,9 @@ MxResult LegoInputManager::GetNavigationTouchStates(MxU32& p_keyStates)
SDL_TouchID* touchDevices = SDL_GetTouchDevices(&count); SDL_TouchID* touchDevices = SDL_GetTouchDevices(&count);
if (touchDevices) { if (touchDevices) {
auto applyFingerNavigation = [&p_keyStates](SDL_TouchID touchId) { auto applyFingerNavigation = [&p_keyStates](SDL_TouchID p_touchId) {
int count; int count;
SDL_Finger** fingers = SDL_GetTouchFingers(touchId, &count); SDL_Finger** fingers = SDL_GetTouchFingers(p_touchId, &count);
if (fingers) { if (fingers) {
for (int i = 0; i < count; i++) { for (int i = 0; i < count; i++) {