Add a possibility to use auto acceleration on android

This commit is contained in:
Deve
2019-12-30 03:47:34 +01:00
parent 487647df85
commit 40af912312

View File

@@ -399,6 +399,12 @@ void MultitouchDevice::updateDeviceState(unsigned int event_id)
{
update_controls = true;
}
if (button->type == MultitouchButtonType::BUTTON_UP_DOWN &&
!button->pressed)
{
update_controls = false;
}
if (update_controls)
{