GetKeyName

< [[::Category:Functions|Category:Functions]]

A function added by the New Vegas Script Extender.

Description

Returns the name of the key specified by its DirectInput scan code number. Added by NVSE 4.1.

Syntax

(string) GetKeyName KeyCode:int

Example

string_var key_name

let key_name := GetKeyName 45 ; 'X' 

See Also