keyName: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 3: Line 3:
[[Category:Scripting Commands ArmA|KEYNAME]]
[[Category:Scripting Commands ArmA|KEYNAME]]


<new command not populated>




<h2 style="color:#000066">''''' keyName '''''</h2>
<h2 style="color:#000066">''''' keyName ''dikCode'''''</h2>




'''Operand types:'''
'''Operand types:'''
dikCode: [[Number]]


'''Type of returned value:'''
'''Type of returned value:'''
[[String]]


'''Compatibility:'''
'''Compatibility:'''
Version 2.01 required.


'''Description:'''
'''Description:'''


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


'''Example:'''
'''Example:'''
name = '''keyName''' 28 , result is "Enter"

Revision as of 01:00, 30 June 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"