displaySetEventHandler: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
m (Re arranged them a little)
Line 60: Line 60:
* ß = 12
* ß = 12
* ´ = 13
* ´ = 13
* BACKSPACE = 14
* Ü = 26
* INSERT = 210
* Ö = 39
* Ä = 40
* # = 43
* < = 86
* , = 51
* . = 52
* - = 53
* + = NOT DEFINED
* POS1 = 199
* POS1 = 199
* PAGEUP = 201
* NUM = 69
* NUM_/ = 181
* NUM_* = 55
* NUM_- = 74
* TAB = 15
* 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
* ENTER = 28
* DELETE = 211
* DELETE = 211
* BACKSPACE = 14
* INSERT = 210
* END = 207
* END = 207
* PAGEUP = 201
* PAGEDOWN = 209
* PAGEDOWN = 209
* NUM_7 = 71
* NUM_8 = 72
* NUM_9 = 73
* NUM_+ = 78
* CAPS = 58
* CAPS = 58
* A = 30
* A = 30
* S = 31
* B = 48
* C = 46
* D = 32
* D = 32
* E = 18
* F = 33
* F = 33
* G = 34
* G = 34
* H = 35
* H = 35
* I = 23
* J = 36
* J = 36
* K = 37
* K = 37
* L = 38
* L = 38
* Ö = 39
* M = 50
* Ä = 40
* N = 49
* # = 43
* O = 24
* NUM_4 = 75
* P = 25
* NUM_5 = 76
* Q = 16
* NUM_6 = 77
* R = 19
* S = 31
* T = 20
* U = 22
* V = 47
* W = 17
* X = 45
* Y = 44
* Z = 21
* SHIFTL = 42
* SHIFTL = 42
* < = 86
* Y = 44
* X = 45
* C = 46
* V = 47
* B = 48
* N = 49
* M = 50
* , = 51
* . = 52
* - = 53
* SHIFTR = 54
* SHIFTR = 54
* UP = 200
* UP = 200
* DOWN = 208
* LEFT = 203
* RIGHT = 205
* NUM_0 = 82
* NUM_1 = 79
* NUM_1 = 79
* NUM_2 = 80
* NUM_2 = 80
* NUM_3 = 81
* NUM_3 = 81
* NUM_4 = 75
* NUM_5 = 76
* NUM_6 = 77
* NUM_7 = 71
* NUM_8 = 72
* NUM_9 = 73
* NUM_+ = 78
* NUM = 69
* NUM_/ = 181
* NUM_* = 55
* NUM_- = 74
* NUM_, = 83
* NUM_ENTER = 156
* NUM_ENTER = 156
* STRGL = 42
* STRGL = 42
* STRGR = 157
* WINL = 220
* WINL = 220
* WINR = 219
* ALT = 56
* ALT = 56
* SPACE = 57
* SPACE = 57
* ALTGR = 184
* ALTGR = 184
* WINR = 219
* APP = 221
* APP = 221
* STRGR = 157
 
* LEFT = 203
 
* DOWN = 208
 
* RIGHT = 205
* NUM_0 = 82
* NUM_, = 83


--[[User:T D|T_D]] 13:37, 8 December 2006 (CET)
--[[User:T D|T_D]] 13:37, 8 December 2006 (CET)

Revision as of 19:02, 20 July 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
  • Ü = 26
  • Ö = 39
  • Ä = 40
  • # = 43
  • < = 86
  • , = 51
  • . = 52
  • - = 53
  • + = NOT DEFINED
  • POS1 = 199
  • TAB = 15
  • ENTER = 28
  • DELETE = 211
  • BACKSPACE = 14
  • INSERT = 210
  • END = 207
  • PAGEUP = 201
  • PAGEDOWN = 209
  • CAPS = 58
  • A = 30
  • B = 48
  • C = 46
  • D = 32
  • E = 18
  • F = 33
  • G = 34
  • H = 35
  • I = 23
  • J = 36
  • K = 37
  • L = 38
  • M = 50
  • N = 49
  • O = 24
  • P = 25
  • Q = 16
  • R = 19
  • S = 31
  • T = 20
  • U = 22
  • V = 47
  • W = 17
  • X = 45
  • Y = 44
  • Z = 21
  • SHIFTL = 42
  • SHIFTR = 54
  • UP = 200
  • DOWN = 208
  • LEFT = 203
  • RIGHT = 205
  • NUM_0 = 82
  • NUM_1 = 79
  • NUM_2 = 80
  • NUM_3 = 81
  • NUM_4 = 75
  • NUM_5 = 76
  • NUM_6 = 77
  • NUM_7 = 71
  • NUM_8 = 72
  • NUM_9 = 73
  • NUM_+ = 78
  • NUM = 69
  • NUM_/ = 181
  • NUM_* = 55
  • NUM_- = 74
  • NUM_, = 83
  • NUM_ENTER = 156
  • STRGL = 42
  • STRGR = 157
  • WINL = 220
  • WINR = 219
  • ALT = 56
  • SPACE = 57
  • ALTGR = 184
  • APP = 221
--T_D 13:37, 8 December 2006 (CET)

Bottom Section