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  -  SCANCODE_TO_NAME (3)

NAME

scancode_to_name - Converts a scancode to a key name. Allegro game programming library.

CONTENTS

Synopsis
Description
See Also

SYNOPSIS

#include <allegro.h>

const char *scancode_to_name(int scancode);

DESCRIPTION

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

scancode_to_ascii(3), exkeys(3)
Search for    or go to Top of page |  Section 3 |  Main Index


Allegro SCANCODE_TO_NAME (3) version 4.4.2

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