1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-14 00:55:20 +02:00

Touch UI support for desktop builds (#10729)

This commit is contained in:
TheBrokenRail
2021-09-26 12:04:09 -04:00
committed by GitHub
parent 9f85862b7c
commit 3dcf9e963e
16 changed files with 89 additions and 51 deletions

View File

@@ -228,13 +228,15 @@ private:
*/
line3d<f32> m_shootline;
int m_move_id = -1;
bool m_has_move_id = false;
size_t m_move_id;
bool m_move_has_really_moved = false;
u64 m_move_downtime = 0;
bool m_move_sent_as_mouse_event = false;
v2s32 m_move_downlocation = v2s32(-10000, -10000);
int m_joystick_id = -1;
bool m_has_joystick_id = false;
size_t m_joystick_id;
bool m_joystick_has_really_moved = false;
bool m_fixed_joystick = false;
bool m_joystick_triggers_aux1 = false;