projects
/
oweals
/
minetest.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3cee55f
)
Fix real keyboard movements on touchscreen devices
author
Maksim
<MoNTE48@mail.ua>
Sun, 31 May 2020 20:27:50 +0000
(22:27 +0200)
committer
SmallJoker
<SmallJoker@users.noreply.github.com>
Tue, 9 Jun 2020 17:35:25 +0000
(19:35 +0200)
src/gui/touchscreengui.cpp
patch
|
blob
|
history
diff --git
a/src/gui/touchscreengui.cpp
b/src/gui/touchscreengui.cpp
index 94e331f72ac1b81fa881060d65ff4fa8acac4739..4df5979e118c96f5382cad5daafd4043825365ba 100644
(file)
--- a/
src/gui/touchscreengui.cpp
+++ b/
src/gui/touchscreengui.cpp
@@
-1211,7
+1211,12
@@
void TouchScreenGUI::step(float dtime)
}
// 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 ((m_move_id != -1) &&