al_install_mouse
bool al_install_mouse(void)
Introduced in 5.0.0
Install a mouse driver.
Returns true if successful. If a driver was already installed, nothing happens and true is returned.
Examples: ex_audio_props, ex_bitmap, ex_blend, ex_blend2, ex_blit, ex_clip, ex_color, ex_display_options, ex_draw, ex_draw_bitmap, ex_expose, ex_filter, ex_font_justify, ex_haiku, ex_iphone, ex_lines, ex_logo, ex_mouse, ex_mouse_cursor, ex_mouse_events, ex_mouse_focus, ex_multiwin, ex_native_filechooser, ex_noframe, ex_ogre3d, ex_pixelformat, ex_premulalpha, ex_prim, ex_stream_seek, ex_subbitmap, ex_synth, ex_threads, ex_threads2, ex_timer, ex_transform, ex_ttf, ex_vsync, ex_warp_mouse, ex_windows
Most helpful discussions:
- [A5] Show & Hide window/display Cross-Platform ?
- Why some Shaders don't work !
- Change adapter un runtime
- Font loading crashing with Allegro 5.2
- Inconstistent joystick event delay
- ALLEGRO 5.2, ERROR TO LOAD IMAGE!
- Allegro 5.2 Image Xcode
- Performance issue regarding al_put_pixel and raycasting
- Memory leak in allegro5
- Coordinate systems
Other recent discussions:
- 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
- Control Collision
- mouse clicks
- al_draw_bitmap_region does not return
- [OpenGL] Cube drawing overlaps itself... but not others.
- ALLEGRO 5 - Bitmap Corruption after writing to source image