centos man page for scancode_to_ascii

Query: scancode_to_ascii

OS: centos

Section: 3alleg4

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

scancode_to_ascii(3alleg4)					  Allegro manual					scancode_to_ascii(3alleg4)

NAME
scancode_to_ascii - Converts a scancode to an ASCII character. Allegro game programming library.
SYNOPSIS
#include <allegro.h> int scancode_to_ascii(int scancode);
DESCRIPTION
Converts the given scancode to an ASCII character for that key (mangling Unicode values), returning the unshifted uncapslocked result of pressing the key, or zero if the key isn't a character-generating key or the lookup can't be done. The lookup cannot be done for keys like the F1-F12 keys or the cursor keys, and some drivers will only return approximate values. Generally, if you want to display the name of a key to the user, you should use the scancode_to_name function. Example: int ascii; ... ascii = scancode_to_ascii(scancode); allegro_message("You pressed '%c' ", ascii);
SEE ALSO
scancode_to_name(3alleg4) Allegro version 4.4.2 scancode_to_ascii(3alleg4)
Related Man Pages
ureadkey(3alleg4) - suse
keyboard_ucallback(3alleg4) - suse
ureadkey(3alleg4) - php
ureadkey(3alleg4) - plan9
ureadkey(3alleg4) - v7
Similar Topics in the Unix Linux Community
Set hard block limit for user using quota
Best performance UNIX just for HOST Virtualization?
CentOS7 restoring file capabilities
Unsure why access time on a directory change isn't changing
Please Welcome Dave Munro to the Moderator Team!