platform-game/Forráskód/modules/touch.h
Andras Schmelczer c4f7565d18
All checks were successful
Build & deploy web version / Build WebAssembly & deploy (push) Successful in 1m1s
Add mobile support
2026-08-09 20:39:30 +01:00

17 lines
446 B
C

#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