mirror of
https://git.neolegacy.dev/neoStudiosLCE/neoLegacy.git
synced 2026-11-18 19:50:00 +01:00
refactor: refactor KBM input code
This commit is contained in:
1 parent
ac03b88a90
commit
1dc8a005ed
25 files changed
+1187
-689
No files matched your search
@@ -58,7 +58,7 @@ bool ChoiceTask::isCompleted()
|
||||
#ifdef _WINDOWS64
|
||||
if (!m_bConfirmMappingComplete &&
|
||||
(InputManager.GetValue(xboxPad, m_iConfirmMapping) > 0
|
||||
|| KMInput.IsKeyDown(VK_RETURN)))
|
||||
|| g_KBMInput.IsKeyDown(VK_RETURN)))
|
||||
#else
|
||||
if (!m_bConfirmMappingComplete &&
|
||||
InputManager.GetValue(xboxPad, m_iConfirmMapping) > 0)
|
||||
@@ -70,7 +70,7 @@ bool ChoiceTask::isCompleted()
|
||||
#ifdef _WINDOWS64
|
||||
if (!m_bCancelMappingComplete &&
|
||||
(InputManager.GetValue(xboxPad, m_iCancelMapping) > 0
|
||||
|| KMInput.IsKeyDown('B')))
|
||||
|| g_KBMInput.IsKeyDown('B')))
|
||||
#else
|
||||
if (!m_bCancelMappingComplete &&
|
||||
InputManager.GetValue(xboxPad, m_iCancelMapping) > 0)
|
||||
|
||||
Reference in new issue
Block a user