Go to the documentation of this file.
11 #ifndef HAL_GFX_EVENT_H__
12 #define HAL_GFX_EVENT_H__
25 #define HAL_GFX_EVENT_HIDE_CURSOR (1 << 1)
113 int hal_gfx_event_init(
int flags,
int mouse_init_x,
int mouse_init_y,
int mouse_max_x,
int mouse_max_y);
224 #endif //HAL_GFX_EVENT_H__
void hal_gfx_timer_destroy(int timer_id)
Destroy timer, need to porting.
int hal_gfx_event_init(int flags, int mouse_init_x, int mouse_init_y, int mouse_max_x, int mouse_max_y)
event init function
void hal_gfx_event_force_cursor_xy(int x, int y)
force setting cursy to [x,y]
uintptr_t hal_gfx_init_triple_fb(int layer, uintptr_t fb0_phys, uintptr_t fb1_phys, uintptr_t fb2_phys)
Init triple framebuffer (Not USED)
@ MOUSE_STATE_MIDDLE_CLICKED
uintptr_t hal_gfx_swap_fb(int layer)
Swap layer to current layer.
@ MOUSE_EVENT_RIGHT_CLICK
void hal_gfx_timer_stop(int timer_id)
Stop timer, need to porting.
int hal_gfx_timer_create(void)
Create a timer, need to porting.
@ MOUSE_EVENT_LEFT_RELEASE
@ MOUSE_EVENT_SCROLL_DOWN
hal_gfx_kb_event_t
KeyBoard Event for Graphics.
Event Structure for Graphics.
int hal_gfx_timer_set_periodic(int timer_id, uint32_t timeout_milisecs)
Set periodic timer, need to porting.
@ MOUSE_EVENT_MIDDLE_RELEASE
@ MOUSE_STATE_RIGHT_CLICKED
int hal_gfx_timer_set_oneshot(int timer_id, uint32_t timeout_milisecs)
Set one-shot timer, need to porting.
int hal_gfx_event_wait(hal_gfx_event_t *event, int block_until_event)
wait event init function
hal_gfx_mouse_event_t
Mouse Event for Graphics.
uint32_t timer_expirations
hal_gfx_mouse_state_t
Mouse State for Graphics.
@ MOUSE_EVENT_RIGHT_RELEASE
@ MOUSE_EVENT_MIDDLE_CLICK
@ MOUSE_STATE_LEFT_CLICKED