Skip to content

Commit

Permalink
Fixed build
Browse files Browse the repository at this point in the history
  • Loading branch information
deathkiller committed Dec 11, 2024
1 parent d949d11 commit 2718ab9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Sources/nCine/Backends/Android/AndroidInputManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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_);
Expand Down
2 changes: 1 addition & 1 deletion Sources/nCine/Backends/Uwp/UwpInputManager.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 2718ab9

Please sign in to comment.