Add mobile support
All checks were successful
Build & deploy web version / Build WebAssembly & deploy (push) Successful in 1m1s
All checks were successful
Build & deploy web version / Build WebAssembly & deploy (push) Successful in 1m1s
This commit is contained in:
parent
6e4f0428dc
commit
c4f7565d18
1 changed files with 567 additions and 69 deletions
17
Forráskód/modules/touch.h
Normal file
17
Forráskód/modules/touch.h
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
#ifndef TOUCH_H_INCLUDED
|
||||
#define TOUCH_H_INCLUDED
|
||||
|
||||
#include "global.h"
|
||||
#include "menu/menuDraw.h"
|
||||
|
||||
void initTouch();
|
||||
bool isTouchMode();
|
||||
bool shouldDrawCursor();
|
||||
void noteMouseInput();
|
||||
void handleFingerEvent(SDL_Event* event, bool* isLMBDown, bool* prematureClick);
|
||||
bool isTouchSlowMo();
|
||||
void applyTouchKeys();
|
||||
void drawTouchControls();
|
||||
void syncSoftKeyboard(states state);
|
||||
|
||||
#endif // TOUCH_H_INCLUDED
|
||||
Loading…
Reference in a new issue