mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 08:35:20 +02:00
Fix real keyboard movements on touchscreen devices
This commit is contained in:
@@ -1211,7 +1211,12 @@ void TouchScreenGUI::step(float dtime)
|
|||||||
}
|
}
|
||||||
|
|
||||||
// joystick
|
// joystick
|
||||||
applyJoystickStatus();
|
for (unsigned int i = 0; i < 4; i++) {
|
||||||
|
if (m_joystick_status[i]) {
|
||||||
|
applyJoystickStatus();
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
// if a new placed pointer isn't moved for some time start digging
|
// if a new placed pointer isn't moved for some time start digging
|
||||||
if ((m_move_id != -1) &&
|
if ((m_move_id != -1) &&
|
||||||
|
Reference in New Issue
Block a user