GetKeyName

From GECK
Jump to: navigation, search


A function added by the New Vegas Script Extender.

Description

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

Syntax

[help]
(string) GetKeyName KeyCode:int 

Example

string_var key_name

let key_name := GetKeyName 45 ; 'X' 

See Also