mirror of
https://github.com/izzy2lost/dolphin.git
synced 2026-06-19 01:16:48 -07:00
[Android-overlay] Had the action reversed.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user