openmohaa/code/gamespy/common/nitro/touch.h

15 lines
213 B
C
Raw Permalink Normal View History

2023-02-04 21:00:01 +01:00
#ifndef _TOUCH_H_
#define _TOUCH_H_
#define TOUCH_X_RANGE 256
#define TOUCH_Y_RANGE 192
void TouchInit(void);
// 0 <= x <= 255
// 0 <= y <= 191
BOOL GetTouch(int * x, int * y);
void WaitForTouch(void);
#endif