Skip to content

Commit

Permalink
synchronized with nwin
Browse files Browse the repository at this point in the history
  • Loading branch information
Wildric-Auric committed Jul 11, 2024
1 parent 4ee096f commit b48efd1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Engine/Context/Inputs.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ bool Inputs::GetInputKey(Input_Number key, Input_Mode mode) {
return window->_getKeyboard().isKeyPressed((NWin::Key)key);
}
if (mode == NWin::KeyEventEnum::NWIN_KeyReleased) {
return window->_getKeyboard().isKeyReleased((NWin::Key)key);
return window->_getKeyboard().onKeyRelease((NWin::Key)key);
}
}

Expand Down

0 comments on commit b48efd1

Please sign in to comment.