mirror of
https://github.com/smartcmd/MinecraftConsoles.git
synced 2026-05-12 04:03:53 +00:00
refactor: refactor KBM input code
This commit is contained in:
parent
ac03b88a90
commit
1dc8a005ed
25 changed files with 1187 additions and 689 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue