Query: scancode_to_name
OS: debian
Section: 3alleg4
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
scancode_to_name(3alleg4) Allegro manual scancode_to_name(3alleg4)NAMEscancode_to_name - Converts a scancode to a key name. Allegro game programming library.SYNOPSIS#include <allegro.h> const char *scancode_to_name(int scancode);DESCRIPTIONThis function returns a string pointer containing the name of they key with the given scancode. This is useful if you e.g. let the user choose a key for some action, and want to display something more meaningful than just the scancode. Example: char const *keyname = scancode_to_name(scancode); allegro_message("You pressed the %s key.", keyname);SEE ALSOscancode_to_ascii(3alleg4), exkeys(3alleg4) Allegro version 4.4.2 scancode_to_name(3alleg4)
Related Man Pages |
---|
exkeys(3alleg4) - debian |
keyboard_ucallback(3alleg4) - suse |
exkeys(3alleg4) - centos |
exkeys(3alleg4) - opendarwin |
exkeys(3alleg4) - redhat |
Similar Topics in the Unix Linux Community |
---|
Adding the individual columns of a matrix. |
Installing Dash Shell on OS X Lion |
How can I do this in VI editor? |
Is UNIX an open source OS ? |
Introduction |