Add a possibility to use auto acceleration on android
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user