al_install_keyboard
bool al_install_keyboard(void)
Introduced in 5.0.0
Install a keyboard driver. Returns true if successful. If a driver was already installed, nothing happens and true is returned.
See also: al_uninstall_keyboard, al_is_keyboard_installed
Examples: ex_audio_props, ex_audio_simple, ex_bitmap, ex_bitmap_flip, ex_bitmap_target, ex_blend, ex_blend2, ex_blend_test, ex_blit, ex_clip, ex_color, ex_curl, ex_d3d, ex_disable_screensaver, ex_display_options, ex_draw, ex_drawpixels, ex_draw_bitmap, ex_dualies, ex_expose, ex_filter, ex_font, ex_font_justify, ex_fs_resize, ex_fs_window, ex_gldepth, ex_glext, ex_haiku, ex_icon, ex_joystick_events, ex_joystick_hotplugging, ex_keyboard_events, ex_keyboard_focus, ex_lines, ex_lockbitmap, ex_logo, ex_membmp, ex_mixer_pp, ex_mouse, ex_mouse_cursor, ex_mouse_events, ex_mouse_focus, ex_multisample, ex_multiwin, ex_native_filechooser, ex_noframe, ex_ogre3d, ex_opengl, ex_opengl_pixel_shader, ex_physfs, ex_pixelformat, ex_premulalpha, ex_prim, ex_resize, ex_resize2, ex_rotate, ex_scale, ex_stream_seek, ex_subbitmap, ex_synth, ex_threads, ex_threads2, ex_timedwait, ex_timer, ex_transform, ex_ttf, ex_vsync, ex_warp_mouse, ex_winfull
Most helpful discussions:
- Key-presses speed-up program
- Keyboard Modifiers flag on Windows?
- ALLEGRO_PATH/ALLEGRO_FS_ENTRY and PHYSFS addon
- I am looking for correct detailed instructions how to build Allegro....
- Difficulty compiling on Windows
- We must post bugs and squash them***
- Screen is cleared and a new one appears Allegro5 in C?
- A little bit of fun for family and friends
- KrampusHack 2020: Odd Results With Color Mapping Functions
- Problem solved: memory bitmaps not being converted
Other recent discussions:
- Allegro 5 crashes when using al_draw_bitmap inside a list container
- Rendering A Hot Air Balloon
- Game Crashing and I'm not sure why?
- letters are rendered in their seperated form, this may require glyph hook maybe?
- got a bug in my FULLSCREEN WINDOWED MODE switchout
- MinGW does not see the library
- Audio Stream: Seeking doesn't work
- Enter charaters/numbers from Keypad
- al_get_opengl_proc_address failed
- A segfault for libmpv