mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-06-16 07:35:47 -04:00
Cheats: Implement D4/D5/D6 code types
This commit is contained in:
@ -100,6 +100,11 @@ void AnalogJoystick::SetButtonState(s32 button_code, bool pressed)
|
||||
SetButtonState(static_cast<Button>(button_code), pressed);
|
||||
}
|
||||
|
||||
u32 AnalogJoystick::GetButtonStateBits() const
|
||||
{
|
||||
return m_button_state ^ 0xFFFF;
|
||||
}
|
||||
|
||||
void AnalogJoystick::ResetTransferState()
|
||||
{
|
||||
m_transfer_state = TransferState::Idle;
|
||||
|
Reference in New Issue
Block a user