mirror of
https://gitlab.com/GaryOderNichts/re3-wiiu.git
synced 2024-12-02 05:54:14 +01:00
fixed mouse binding
This commit is contained in:
parent
37a7c48e63
commit
c07272dfa0
@ -1443,8 +1443,6 @@ bool CControllerConfigManager::GetIsMouseButtonDown(RsKeyCodes keycode)
|
|||||||
|
|
||||||
bool CControllerConfigManager::GetIsMouseButtonUp(RsKeyCodes keycode)
|
bool CControllerConfigManager::GetIsMouseButtonUp(RsKeyCodes keycode)
|
||||||
{
|
{
|
||||||
if (keycode > rsMOUSEX2BUTTON)
|
|
||||||
{
|
|
||||||
switch (keycode)
|
switch (keycode)
|
||||||
{
|
{
|
||||||
case rsMOUSELEFTBUTTON:
|
case rsMOUSELEFTBUTTON:
|
||||||
@ -1476,7 +1474,6 @@ bool CControllerConfigManager::GetIsMouseButtonUp(RsKeyCodes keycode)
|
|||||||
return true;
|
return true;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
@ -1662,9 +1659,6 @@ void CControllerConfigManager::DeleteMatchingActionInitiators(e_ControllerAction
|
|||||||
|
|
||||||
bool CControllerConfigManager::GetIsKeyBlank(int32 key, eControllerType type)
|
bool CControllerConfigManager::GetIsKeyBlank(int32 key, eControllerType type)
|
||||||
{
|
{
|
||||||
if (type > JOYSTICK)
|
|
||||||
return true;
|
|
||||||
|
|
||||||
switch (type)
|
switch (type)
|
||||||
{
|
{
|
||||||
case KEYBOARD:
|
case KEYBOARD:
|
||||||
@ -1755,8 +1749,6 @@ e_ControllerActionType CControllerConfigManager::GetActionType(e_ControllerActio
|
|||||||
|
|
||||||
void CControllerConfigManager::ClearSettingsAssociatedWithAction(e_ControllerAction action, eControllerType type)
|
void CControllerConfigManager::ClearSettingsAssociatedWithAction(e_ControllerAction action, eControllerType type)
|
||||||
{
|
{
|
||||||
if (type <= JOYSTICK)
|
|
||||||
{
|
|
||||||
switch (type)
|
switch (type)
|
||||||
{
|
{
|
||||||
case KEYBOARD:
|
case KEYBOARD:
|
||||||
@ -1776,7 +1768,6 @@ void CControllerConfigManager::ClearSettingsAssociatedWithAction(e_ControllerAct
|
|||||||
m_aSettings[action][type].m_ContSetOrder = SETORDER_NONE;
|
m_aSettings[action][type].m_ContSetOrder = SETORDER_NONE;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
ResetSettingOrder(action);
|
ResetSettingOrder(action);
|
||||||
}
|
}
|
||||||
@ -2257,6 +2248,7 @@ void CControllerConfigManager::UpdateJoyButtonState(int32 padnumber)
|
|||||||
for (int32 i = 0; i < MAX_BUTTONS; i++)
|
for (int32 i = 0; i < MAX_BUTTONS; i++)
|
||||||
m_aButtonStates[i] = false;
|
m_aButtonStates[i] = false;
|
||||||
|
|
||||||
|
#ifdef __DINPUT_INCLUDED__
|
||||||
for (int32 i = 0; i < MAX_BUTTONS; i++)
|
for (int32 i = 0; i < MAX_BUTTONS; i++)
|
||||||
{
|
{
|
||||||
if (m_NewState.rgbButtons[i] & 0x80)
|
if (m_NewState.rgbButtons[i] & 0x80)
|
||||||
@ -2264,6 +2256,7 @@ void CControllerConfigManager::UpdateJoyButtonState(int32 padnumber)
|
|||||||
else
|
else
|
||||||
m_aButtonStates[i] = false;
|
m_aButtonStates[i] = false;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
bool CControllerConfigManager::GetIsActionAButtonCombo(e_ControllerAction action)
|
bool CControllerConfigManager::GetIsActionAButtonCombo(e_ControllerAction action)
|
||||||
|
Loading…
Reference in New Issue
Block a user