Add mobile support
All checks were successful
Build & deploy web version / Build WebAssembly & deploy (push) Successful in 1m1s

This commit is contained in:
Andras Schmelczer 2026-08-09 20:39:30 +01:00
commit c4f7565d18

View 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