al_get_mouse_event_source
ALLEGRO_EVENT_SOURCE *al_get_mouse_event_source(void)
Introduced in 5.0.0
Retrieve the mouse event source.
Returns NULL if the mouse subsystem was not installed.
Examples: ex_blend, ex_blit, ex_clip, ex_display_options, ex_draw, ex_draw_bitmap, ex_expose, ex_filter, ex_haiku, ex_iphone, ex_lines, ex_logo, ex_mouse_cursor, ex_mouse_events, ex_native_filechooser, ex_noframe, ex_ogre3d, ex_prim, ex_stream_seek, ex_subbitmap, ex_threads2, ex_timer, ex_vsync, ex_warp_mouse, ex_windows
Most helpful discussions:
- Using Sine And Cosine For Rotation
- Shooting Ball From Rotating Bitmap
- Problem with al_creat_bitmap
- Mouse Click Inside Timer Function
- A5 Fullscreen Vs Windowed
- Convert *bitmap to char buffer
- al_load_bitmap question
- MOUSE question
- Mouse Activity Question
- Having Trouble with exit(1) - Stalling Program
Other recent discussions:
- Program locks on exit (linux only)
- Multiple threads/displays, Event handling question
- Delay on event queue while on thread
- Difficulty compiling on Windows
- Screen is cleared and a new one appears Allegro5 in C?
- A little bit of fun for family and friends
- Mouse Addon causing program crash
- Allegro 5 crashes when using al_draw_bitmap inside a list container
- Some allegro 5 functions not working on some laptops
- get all pressed keys?