scancode_to_name(3alleg4) v7 man page | unix.com

Man Page: scancode_to_name

Operating Environment: v7

Section: 3alleg4

scancode_to_name(3alleg4)					  Allegro manual					 scancode_to_name(3alleg4)

NAME
scancode_to_name - Converts a scancode to a key name. Allegro game programming library. 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(3alleg4), exkeys(3alleg4) Allegro version 4.4.2 scancode_to_name(3alleg4)
Related Man Pages
keyboard_ucallback(3alleg4) - debian
exkeys(3alleg4) - centos
exkeys(3alleg4) - mojave
keyboard_ucallback(3alleg4) - osx
exkeys(3alleg4) - plan9
Similar Topics in the Unix Linux Community
Need to add prefix using sed or awk from cat the file
Need help to compile and create python64 bit (2.7.9) on Solaris10
Read a file and save every word in a variable to use
Linux froze and got back working 5 days later, no reboot.
Building JSON command with bash script