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:
- Change adapter un runtime
- Inconstistent joystick event delay
- Allegro 5.2 Image Xcode
- Performance issue regarding al_put_pixel and raycasting
- Memory leak in allegro5
- Keyboard Interrupting on Mouse Positions?
- Help using mouse events in creating a Menu
- Segmentation fault al_map_rgb
- Crash on al_get_time()
- Problem with events
Other recent discussions:
- mouse clicks
- al_draw_bitmap_region does not return
- Porting from Allegro 4.4 to 5.0
- Using ALLEGRO_DISPLAY_CLOSE multiple times
- Player Animation on a keypress
- Resetting Player Location on State Change
- Problems deleting bitmap
- Show and Remove Text with the same key
- Best algorithm for shadow casting on a 2-D grid?
- weird mouse issue