Risk-Aware Code Review: Auto Approve Low-Risk Changes
LiveReview LiveReview LiveReview - Free, Risk-Aware Code Review: Auto Approve Low-Risk Changes | Product Hunt LiveReview - Free, Risk-Aware Code Review: Auto Approve Low-Risk Changes | Product Hunt GitHub Install Now

We'd appreciate a star

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

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);

Name

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

See Also

scancode_to_ascii(3alleg4), exkeys(3alleg4)

Allegro                                           version 4.4.3                        scancode_to_name(3alleg4)

Synopsis

#include<allegro.h>constchar*scancode_to_name(intscancode);

See Also