mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-06-29 10:32:10 +08:00
79ca8c9ec9
old-commit-hash: e94a30bec0
13 lines
203 B
C
13 lines
203 B
C
#ifndef TOUCH_H
|
|
#define TOUCH_H
|
|
|
|
typedef struct TouchState {
|
|
int fd;
|
|
int last_x, last_y;
|
|
} TouchState;
|
|
|
|
void touch_init(TouchState *s);
|
|
int touch_poll(TouchState *s, int *out_x, int *out_y);
|
|
|
|
#endif
|