displaySetEventHandler: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (added key list)
mNo edit summary
Line 22: Line 22:
____________________________________________________________________________________________
____________________________________________________________________________________________


| |= See also
| [[ctrlSetEventHandler]] |= See also


}}
}}

Revision as of 22:41, 23 February 2007

-wrong parameter ("Arma") defined!-1.00
Hover & click on the images for description

Description

Description:
Sets given event handler of given display.
Groups:
Uncategorised

Syntax

Syntax:
display displaySetEventHandler [handler name, function]
Parameters:
display Display
[handler name, function] Array
Return Value:
Nothing

Examples

Example 1:
_control displaySetEventHandler ["KeyDown", ""]

Additional Information

See also:
ctrlSetEventHandler

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note

Notes

Here is a list of key codes, which I found out with a German keyboard (SAITEK):
  • ESC = 1
  • F1 = 59
  • F2 = 60
  • F3 = 61
  • F4 = 62
  • F5 = 63
  • F6 = 64
  • F7 = 65
  • F8 = 66
  • F9 = 67
  • F10 = 68
  • F11 = 87
  • F12 = 88
  • PRINT = 183
  • SCROLL = 70
  • PAUSE = 197
  • ^ = 41
  • 1 = 2
  • 2 = 3
  • 3 = 4
  • 4 = 5
  • 5 = 6
  • 6 = 7
  • 7 = 8
  • 8 = 9
  • 9 = 10
  • 0 = 11
  • ß = 12
  • ´ = 13
  • BACKSPACE = 14
  • INSERT = 210
  • POS1 = 199
  • PAGEUP = 201
  • NUM = 69
  • NUM_/ = 181
  • NUM_* = 55
  • NUM_- = 74
  • TAB = 15
  • Q = 16
  • W = 17
  • E = 18
  • R = 19
  • T = 20
  • Z = 21
  • U = 22
  • I = 23
  • O = 24
  • P = 25
  • Ü = 26
  • + = NOT DEFINED
  • ENTER = 28
  • DELETE = 211
  • END = 207
  • PAGEDOWN = 209
  • NUM_7 = 71
  • NUM_8 = 72
  • NUM_9 = 73
  • NUM_+ = 78
  • CAPS = 58
  • A = 30
  • S = 31
  • D = 32
  • F = 33
  • G = 34
  • H = 35
  • J = 36
  • K = 37
  • L = 38
  • Ö = 39
  • Ä = 40
  • # = 43
  • NUM_4 = 75
  • NUM_5 = 76
  • NUM_6 = 77
  • SHIFTL = 42
  • < = 86
  • Y = 44
  • X = 45
  • C = 46
  • V = 47
  • B = 48
  • N = 49
  • M = 50
  • , = 51
  • . = 52
  • - = 53
  • SHIFTR = 54
  • UP = 200
  • NUM_1 = 79
  • NUM_2 = 80
  • NUM_3 = 81
  • NUM_ENTER = 156
  • STRGL = 42
  • WINL = 220
  • ALT = 56
  • SPACE = 57
  • ALTGR = 184
  • WINR = 219
  • APP = 221
  • STRGR = 157
  • LEFT = 203
  • DOWN = 208
  • RIGHT = 205
  • NUM_0 = 82
  • NUM_, = 83
--T_D 13:37, 8 December 2006 (CET)

Bottom Section