mirror of
https://github.com/isledecomp/isle-portable.git
synced 2026-02-03 12:31:15 +00:00
Fix NCC
This commit is contained in:
parent
a12f2ee179
commit
97d192543d
@ -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++) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user