mirror of
https://github.com/NoelFB/blah.git
synced 2024-11-25 16:18:57 +08:00
ButtonBinding::zero_out clears press/release state
This commit is contained in:
parent
9fcd76a959
commit
39685d3ef6
|
@ -586,7 +586,10 @@ void ButtonBinding::zero_out()
|
||||||
m_down = false;
|
m_down = false;
|
||||||
m_pressed = false;
|
m_pressed = false;
|
||||||
m_released = false;
|
m_released = false;
|
||||||
m_value = 0.0f;
|
m_last_press_time = 0;
|
||||||
|
m_last_release_time = 0;
|
||||||
|
m_last_timestamp = 0;
|
||||||
|
m_value = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
void ButtonBinding::clear()
|
void ButtonBinding::clear()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user