From b48efd12385392439b1246361805bb620fb18fff Mon Sep 17 00:00:00 2001 From: Oussama Date: Thu, 11 Jul 2024 22:28:56 +0200 Subject: [PATCH] synchronized with nwin --- Engine/Context/Inputs.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Engine/Context/Inputs.cpp b/Engine/Context/Inputs.cpp index 13bec15..a671d7c 100644 --- a/Engine/Context/Inputs.cpp +++ b/Engine/Context/Inputs.cpp @@ -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); } }