From 2718ab949d22f382d014ed25b7a29b3ab65f814c Mon Sep 17 00:00:00 2001 From: Death Killer <884052+deathkiller@users.noreply.github.com> Date: Wed, 11 Dec 2024 11:15:17 +0100 Subject: [PATCH] Fixed build --- Sources/nCine/Backends/Android/AndroidInputManager.cpp | 2 +- Sources/nCine/Backends/Uwp/UwpInputManager.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Sources/nCine/Backends/Android/AndroidInputManager.cpp b/Sources/nCine/Backends/Android/AndroidInputManager.cpp index 325859a4..7462ce58 100644 --- a/Sources/nCine/Backends/Android/AndroidInputManager.cpp +++ b/Sources/nCine/Backends/Android/AndroidInputManager.cpp @@ -445,7 +445,7 @@ namespace nCine } break; case AKEY_EVENT_ACTION_UP: - if (keyboardEvent_.sym != Keys:Unknown) { + if (keyboardEvent_.sym != Keys::Unknown) { keyboardState_.keys_[keySym] = 0; } inputEventHandler_->OnKeyReleased(keyboardEvent_); diff --git a/Sources/nCine/Backends/Uwp/UwpInputManager.h b/Sources/nCine/Backends/Uwp/UwpInputManager.h index 896688d0..8ac198c5 100644 --- a/Sources/nCine/Backends/Uwp/UwpInputManager.h +++ b/Sources/nCine/Backends/Uwp/UwpInputManager.h @@ -170,7 +170,7 @@ namespace nCine static UwpGamepadInfo _gamepads[MaxNumJoysticks]; static ReadWriteLock _gamepadsSync; - static KeySym keySymValueToEnum(winrtWS::VirtualKey virtualKey); + static Keys keySymValueToEnum(winrtWS::VirtualKey virtualKey); void OnKey(const winrtWUC::CoreWindow& sender, const winrtWUC::KeyEventArgs& args); void OnAcceleratorKeyActivated(const winrtWUC::CoreDispatcher& sender, const winrtWUC::AcceleratorKeyEventArgs& args);