Code archives/User Input/Get the name of a key, using its scancode.

This code has been declared by its author to be Public Domain code.

Download source code

Get the name of a key, using its scancode. by Zethrax2004
This is primarily designed for use with code used in setting key preferences in an options menu.

Just call the 'get_key_name$( scancode )' function with the scancode of the key you want to get the text name of supplied as the 'scancode' parameter, and it will return a string which contains the text name of the specified scancode key.

; The code can be found at: http://www.blitzbasic.com/codearcs/codearcs.php?code=1072

Comments

None.

Code Archives Forum