ButtonBinding::zero_out clears press/release state

This commit is contained in:
Noel Berry 2023-03-15 17:22:18 -07:00 committed by GitHub
parent 9fcd76a959
commit 39685d3ef6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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()