GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  EXKEYS (3)

NAME

exkeys - How to get input from the keyboard in different ways. Allegro game programming library.

CONTENTS

Synopsis
Description
See Also

SYNOPSIS

#include <allegro.h>

Example exkeys

DESCRIPTION

This 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 ALSO

END_OF_FUNCTION(3), END_OF_MAIN(3), LOCK_FUNCTION(3), SCREEN_H(3), SCREEN_W(3), acquire_screen(3), allegro_error(3), allegro_init(3), allegro_message(3), blit(3), clear_keybuf(3), clear_to_color(3), desktop_palette(3), font(3), install_keyboard(3), install_timer(3), key(3), key_shifts(3), keyboard_lowlevel_callback(3), keypressed(3), makecol(3), readkey(3), rectfill(3), release_screen(3), rest(3), scancode_to_name(3), screen(3), set_gfx_mode(3), set_palette(3), textprintf_centre_ex(3), textprintf_ex(3), ureadkey(3), usprintf(3), ustrzncpy(3)
Search for    or go to Top of page |  Section 3 |  Main Index


Allegro EXKEYS (3) version 4.4.2

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.