keyName: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 22: Line 22:


Returns the name of a button (on the keyboard, mouse or joystick) with the given code.
Returns the name of a button (on the keyboard, mouse or joystick) with the given code.


'''Example:'''
'''Example:'''


name = '''keyName''' 28 .... result is "Enter"
name = '''keyName''' 28 .... result is "Enter"

Revision as of 22:27, 1 July 2006


keyName dikCode


Operand types:

dikCode: Number

Type of returned value:

String

Compatibility:

Version 2.01 required.

Description:

Returns the name of a button (on the keyboard, mouse or joystick) with the given code.


Example:

name = keyName 28 .... result is "Enter"