mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-03-16 10:21:05 +00:00
[Android-overlay] Had the action reversed.
This commit is contained in:
parent
2a23bdde6f
commit
1942d79c5b
@ -125,11 +125,7 @@ namespace ButtonManager
|
||||
}
|
||||
void TouchEvent(int button, int action)
|
||||
{
|
||||
// Actions
|
||||
// 0 is press
|
||||
// 1 is let go
|
||||
// 2 is move
|
||||
m_buttons[button]->SetState(action ? BUTTON_RELEASED : BUTTON_PRESSED);
|
||||
m_buttons[button]->SetState(action ? BUTTON_PRESSED : BUTTON_RELEASED);
|
||||
}
|
||||
|
||||
void GamepadEvent(std::string dev, int button, int action)
|
||||
|
Loading…
x
Reference in New Issue
Block a user