 |
LibGame
v0.4.0
The LG Game Engine - Copyright (C) 2024-2025 ETMSoftware
|
6 #ifndef LG_TOUCHSCREEN_H
7 #define LG_TOUCHSCREEN_H
10 LG_FINGER_DOWN_NO_LOC = 0,
11 LG_FINGER_DOWN_LEFT = 1,
12 LG_FINGER_DOWN_H_CENTER = 2,
13 LG_FINGER_DOWN_RIGHT = 4,
14 LG_FINGER_DOWN_BOTTOM = 8,
15 LG_FINGER_DOWN_V_CENTER = 16,
16 LG_FINGER_DOWN_TOP = 32
lg_finger_down_loc lg_finger_loc_from_pos(float x, float y)
Definition: lg_touchscreen.c:216
unsigned long lg_return_finger_down_code_push_back_event()
Definition: lg_touchscreen.c:242
void lg_wait_for_finger_down(float *x, float *y)
Definition: lg_touchscreen.c:72
zboolean lg_get_finger_position(zboolean down_flag, float *x, float *y)
Definition: lg_touchscreen.c:121
lg_finger_down_loc lg_get_finger_down_loc()
Definition: lg_touchscreen.c:202
void lg_wait_for_finger_motion(float *dx, float *dy)
Definition: lg_touchscreen.c:97
void lg_get_motion_and_shot_from_touchscreen(int sprite_x, int sprite_y, int *motion_x, int *motion_y, int zone_side, zboolean *shot)
Definition: lg_touchscreen.c:27
zboolean lg_get_finger_motion(float *dx, float *dy)
Definition: lg_touchscreen.c:181
void lg_flush_touchscreen_buf()
Definition: lg_touchscreen.c:258
zboolean lg_get_finger_state_and_pos(float *x, float *y)
Definition: lg_touchscreen.c:144