Query: exkeys
OS: osx
Section: 3alleg4
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
exkeys(3alleg4) Allegro manual exkeys(3alleg4)NAMEexkeys - How to get input from the keyboard in different ways. Allegro game programming library.SYNOPSIS#include <allegro.h> Example exkeysDESCRIPTIONThis program demonstrates how to access the keyboard. The first part shows the basic use of readkey(). The second part shows how to extract the ASCII value. Next come the scan codes. The fourth test detects modifier keys like alt or shift. The fifth test requires some focus to be passed. The final step shows how to use the global key array to read simultaneous key presses. The last method to detect key presses are keyboard callbacks. This is demonstrated by installing a keyboard callback, which marks all pressed keys by drawing to a grid.SEE ALSOEND_OF_FUNCTION(3alleg4), END_OF_MAIN(3alleg4), LOCK_FUNCTION(3alleg4), SCREEN_H(3alleg4), SCREEN_W(3alleg4), acquire_screen(3alleg4), allegro_error(3alleg4), allegro_init(3alleg4), allegro_message(3alleg4), blit(3alleg4), clear_keybuf(3alleg4), clear_to_color(3alleg4), desktop_palette(3alleg4), font(3alleg4), install_keyboard(3alleg4), install_timer(3alleg4), key(3alleg4), key_shifts(3alleg4), key- board_lowlevel_callback(3alleg4), keypressed(3alleg4), makecol(3alleg4), readkey(3alleg4), rectfill(3alleg4), release_screen(3alleg4), rest(3alleg4), scancode_to_name(3alleg4), screen(3alleg4), set_gfx_mode(3alleg4), set_palette(3alleg4), textprintf_centre_ex(3alleg4), textprintf_ex(3alleg4), ureadkey(3alleg4), usprintf(3alleg4), ustrzncpy(3alleg4) Allegro version 4.4.2 exkeys(3alleg4)
Related Man Pages |
---|
exswitch(3alleg4) - debian |
exzbuf(3alleg4) - suse |
exzbuf(3alleg4) - osx |
exzbuf(3alleg4) - mojave |
exzbuf(3alleg4) - netbsd |
Similar Topics in the Unix Linux Community |
---|
rejoystick 0.7 (Default branch) |
rejoystick 0.8.1 (Default branch) |
screenrc question |
How do you detect keystrokes in canonical mode? |
Input keyboard keys upon program launch |