DOKK / manpages / debian 10 / allegro5-doc / al_get_touch_input_mouse_emulation_event_source.3alleg5.en
al_get_touch_input_mouse_emulation_event_source(3alleg5) al_get_touch_input_mouse_emulation_event_source(3alleg5)
reference manual" ""

al_get_touch_input_mouse_emulation_event_source - Allegro 5 API

#include <allegro5/allegro.h>
ALLEGRO_EVENT_SOURCE *al_get_touch_input_mouse_emulation_event_source(void)
    

Returns the global touch input event source for emulated mouse events. This event source generates [emulated mouse events]ALLEGRO_EVENT_MOUSE_AXES(3alleg5) that are based on touch events.

ALLEGRO_EVENT_SOURCE(3alleg5), al_register_event_source(3alleg5)

5.1.0

[Unstable API]: Seems of limited value, as touch input tends to have different semantics compared to mouse input.

Allegro