DayZ Enforce
Script API
Variables
KeyCodes

Variables

const int  DIK_ESCAPE = 1
 
const int  DIK_LCTRL = 0x1d
 
const int  DIK_LALT = 0x38
 
const int  DIK_F1 = 0x3b
 
const int  DIK_F2 = 0x3c
 
const int  DIK_F3 = 0x3d
 
const int  DIK_F4 = 0x3e
 
const int  DIK_F5 = 0x3f
 
const int  DIK_F6 = 0x40
 
const int  DIK_F7 = 0x41
 
const int  DIK_F8 = 0x42
 
const int  DIK_F9 = 0x43
 
const int  DIK_F10 = 0x44
 
const int  DIK_1 = 0x02
 
const int  DIK_2 = 0x03
 
const int  DIK_3 = 0x04
 
const int  DIK_4 = 0x05
 
const int  DIK_5 = 0x06
 
const int  DIK_6 = 0x07
 
const int  DIK_7 = 0x08
 
const int  DIK_8 = 0x09
 
const int  DIK_9 = 0x0a
 
const int  DIK_0 = 0x0b
 
const int  DIK_MINUS = 0x0c
 
const int  DIK_EQUALS = 0x0d
 
const int  DIK_BACK = 0x0e
  backspace More...
 
const int  DIK_TAB = 0x0f
 
const int  DIK_Q = 0x10
 
const int  DIK_W = 0x11
 
const int  DIK_E = 0x12
 
const int  DIK_R = 0x13
 
const int  DIK_T = 0x14
 
const int  DIK_Y = 0x15
 
const int  DIK_U = 0x16
 
const int  DIK_I = 0x17
 
const int  DIK_O = 0x18
 
const int  DIK_P = 0x19
 
const int  DIK_LBRACKET = 0x1a
 
const int  DIK_RBRACKET = 0x1b
 
const int  DIK_RETURN = 0x1c
  Enter on main keyboard. More...
 
const int  DIK_LCONTROL = 0x1d
 
const int  DIK_A = 0x1e
 
const int  DIK_S = 0x1f
 
const int  DIK_D = 0x20
 
const int  DIK_F = 0x21
 
const int  DIK_G = 0x22
 
const int  DIK_H = 0x23
 
const int  DIK_J = 0x24
 
const int  DIK_K = 0x25
 
const int  DIK_L = 0x26
 
const int  DIK_SEMICOLON = 0x27
 
const int  DIK_APOSTROPHE = 0x28
 
const int  DIK_GRAVE = 0x29
  accent grave More...
 
const int  DIK_LSHIFT = 0x2a
 
const int  DIK_BACKSLASH = 0x2b
 
const int  DIK_Z = 0x2c
 
const int  DIK_X = 0x2d
 
const int  DIK_C = 0x2e
 
const int  DIK_V = 0x2f
 
const int  DIK_B = 0x30
 
const int  DIK_N = 0x31
 
const int  DIK_M = 0x32
 
const int  DIK_COMMA = 0x33
 
const int  DIK_PERIOD = 0x34
  . on main keyboard More...
 
const int  DIK_SLASH = 0x35
  / on main keyboard More...
 
const int  DIK_RSHIFT = 0x36
 
const int  DIK_MULTIPLY = 0x37
 
const int  DIK_LMENU = 0x38
  left Alt More...
 
const int  DIK_SPACE = 0x39
 
const int  DIK_CAPITAL = 0x3a
 
const int  DIK_NUMLOCK = 0x45
 
const int  DIK_SCROLL = 0x46
  Scroll Lock. More...
 
const int  DIK_NUMPAD7 = 0x47
 
const int  DIK_NUMPAD8 = 0x48
 
const int  DIK_NUMPAD9 = 0x49
 
const int  DIK_SUBTRACT = 0x4a
 
const int  DIK_NUMPAD4 = 0x4b
 
const int  DIK_NUMPAD5 = 0x4c
 
const int  DIK_NUMPAD6 = 0x4d
 
const int  DIK_ADD = 0x4e
 
const int  DIK_NUMPAD1 = 0x4f
 
const int  DIK_NUMPAD2 = 0x50
 
const int  DIK_NUMPAD3 = 0x51
 
const int  DIK_NUMPAD0 = 0x52
 
const int  DIK_DECIMAL = 0x53
  . on numeric keypad More...
 
const int  DIK_OEM_102 = 0x56
  < > | on UK/Germany keyboards More...
 
const int  DIK_F11 = 0x57
 
const int  DIK_F12 = 0x58
 
const int  DIK_NUMPADEQUALS = 0x8d
  = on numeric keypad (NEC PC98) More...
 
const int  DIK_PREVTRACK = 0x90
  Previous Track (DIconst int DIK_CIRCUMFLEX on Japanese keyboard) More...
 
const int  DIK_AT = 0x91
  (NEC PC98) More...
 
const int  DIK_COLON = 0x92
  (NEC PC98) More...
 
const int  DIK_UNDERLINE = 0x93
  (NEC PC98) More...
 
const int  DIK_STOP = 0x95
  (NEC PC98) More...
 
const int  DIK_AX = 0x96
  (Japan AX) More...
 
const int  DIK_UNLABELED = 0x97
  (J3100) More...
 
const int  DIK_NEXTTRACK = 0x99
  Next Track. More...
 
const int  DIK_NUMPADENTER = 0x9c
  Enter on numeric keypad. More...
 
const int  DIK_RCONTROL = 0x9d
 
const int  DIK_MUTE = 0xa0
  Mute. More...
 
const int  DIK_CALCULATOR = 0xa1
  Calculator. More...
 
const int  DIK_PLAYPAUSE = 0xa2
  Play / Pause. More...
 
const int  DIK_MEDIASTOP = 0xa4
  Media Stop. More...
 
const int  DIK_VOLUMEDOWN = 0xae
  Volume -. More...
 
const int  DIK_VOLUMEUP = 0xb0
  Volume +. More...
 
const int  DIK_WEBHOME = 0xb2
  Web home. More...
 
const int  DIK_NUMPADCOMMA = 0xb3
  ; on numeric keypad (NEC PC98) More...
 
const int  DIK_DIVIDE = 0xb5
  / on numeric keypad More...
 
const int  DIK_SYSRQ = 0xb7
 
const int  DIK_RMENU = 0xb8
  right Alt More...
 
const int  DIK_PAUSE = 0xc5
  Pause. More...
 
const int  DIK_HOME = 0xc7
  Home on arrow keypad. More...
 
const int  DIK_UP = 0xc8
  UpArrow on arrow keypad. More...
 
const int  DIK_PRIOR = 0xc9
  PgUp on arrow keypad. More...
 
const int  DIK_LEFT = 0xcb
  LeftArrow on arrow keypad. More...
 
const int  DIK_RIGHT = 0xcd
  RightArrow on arrow keypad. More...
 
const int  DIK_END = 0xcf
  End on arrow keypad. More...
 
const int  DIK_DOWN = 0xd0
  DownArrow on arrow keypad. More...
 
const int  DIK_NEXT = 0xd1
  PgDn on arrow keypad. More...
 
const int  DIK_INSERT = 0xd2
  Insert on arrow keypad. More...
 
const int  DIK_DELETE = 0xd3
  Delete on arrow keypad. More...
 
const int  DIK_LWIN = 0xdb
  Left Windows key. More...
 
const int  DIK_RWIN = 0xdc
  Right Windows key. More...
 
const int  DIK_APPS = 0xdd
  AppMenu key. More...
 
const int  DIK_POWER = 0xde
  System Power. More...
 
const int  DIK_SLEEP = 0xdf
  System Sleep. More...
 
const int  DIK_WAKE = 0xe3
  System Wake. More...
 
const int  DIK_MEDIASELECT = 0xed
  Media Select. More...
 

Detailed Description

constants for key codes - Direct Input Keycode - DIK, same as dinput.h

Variable Documentation

const int DIK_ESCAPE = 1
const int DIK_LCTRL = 0x1d

Referenced by DayZGame::OnKeyRelease().

const int DIK_LALT = 0x38
const int DIK_F1 = 0x3b
const int DIK_F2 = 0x3c
const int DIK_F3 = 0x3d
const int DIK_F4 = 0x3e
const int DIK_F5 = 0x3f
const int DIK_F6 = 0x40
const int DIK_F7 = 0x41
const int DIK_F8 = 0x42
const int DIK_F9 = 0x43
const int DIK_F10 = 0x44
const int DIK_1 = 0x02
const int DIK_2 = 0x03
const int DIK_3 = 0x04
const int DIK_4 = 0x05
const int DIK_5 = 0x06
const int DIK_6 = 0x07
const int DIK_7 = 0x08
const int DIK_8 = 0x09
const int DIK_9 = 0x0a
const int DIK_0 = 0x0b
const int DIK_MINUS = 0x0c
  • on main keyboard
const int DIK_EQUALS = 0x0d
const int DIK_BACK = 0x0e

backspace

const int DIK_TAB = 0x0f
const int DIK_Q = 0x10
const int DIK_W = 0x11
const int DIK_E = 0x12
const int DIK_R = 0x13
const int DIK_T = 0x14
const int DIK_Y = 0x15
const int DIK_U = 0x16
const int DIK_I = 0x17
const int DIK_O = 0x18
const int DIK_P = 0x19
const int DIK_LBRACKET = 0x1a
const int DIK_RBRACKET = 0x1b
const int DIK_RETURN = 0x1c

Enter on main keyboard.

Referenced by ChatInputMenu::Update().

const int DIK_LCONTROL = 0x1d
const int DIK_A = 0x1e
const int DIK_S = 0x1f
const int DIK_D = 0x20
const int DIK_F = 0x21
const int DIK_G = 0x22
const int DIK_H = 0x23
const int DIK_J = 0x24
const int DIK_K = 0x25
const int DIK_L = 0x26
const int DIK_SEMICOLON = 0x27
const int DIK_APOSTROPHE = 0x28
const int DIK_GRAVE = 0x29

accent grave

const int DIK_LSHIFT = 0x2a
const int DIK_BACKSLASH = 0x2b
const int DIK_Z = 0x2c
const int DIK_X = 0x2d
const int DIK_C = 0x2e
const int DIK_V = 0x2f
const int DIK_B = 0x30
const int DIK_N = 0x31
const int DIK_M = 0x32
const int DIK_COMMA = 0x33
const int DIK_PERIOD = 0x34

. on main keyboard

const int DIK_SLASH = 0x35

/ on main keyboard

const int DIK_RSHIFT = 0x36
const int DIK_MULTIPLY = 0x37
  • on numeric keypad
const int DIK_LMENU = 0x38

left Alt

const int DIK_SPACE = 0x39
const int DIK_CAPITAL = 0x3a
const int DIK_NUMLOCK = 0x45
const int DIK_SCROLL = 0x46

Scroll Lock.

const int DIK_NUMPAD7 = 0x47
const int DIK_NUMPAD8 = 0x48
const int DIK_NUMPAD9 = 0x49
const int DIK_SUBTRACT = 0x4a
  • on numeric keypad
const int DIK_NUMPAD4 = 0x4b
const int DIK_NUMPAD5 = 0x4c
const int DIK_NUMPAD6 = 0x4d
const int DIK_ADD = 0x4e
  • on numeric keypad
const int DIK_NUMPAD1 = 0x4f
const int DIK_NUMPAD2 = 0x50
const int DIK_NUMPAD3 = 0x51
const int DIK_NUMPAD0 = 0x52
const int DIK_DECIMAL = 0x53

. on numeric keypad

const int DIK_OEM_102 = 0x56

< > | on UK/Germany keyboards

const int DIK_F11 = 0x57
const int DIK_F12 = 0x58
const int DIK_NUMPADEQUALS = 0x8d

= on numeric keypad (NEC PC98)

const int DIK_PREVTRACK = 0x90

Previous Track (DIconst int DIK_CIRCUMFLEX on Japanese keyboard)

const int DIK_AT = 0x91

(NEC PC98)

const int DIK_COLON = 0x92

(NEC PC98)

const int DIK_UNDERLINE = 0x93

(NEC PC98)

const int DIK_STOP = 0x95

(NEC PC98)

const int DIK_AX = 0x96

(Japan AX)

const int DIK_UNLABELED = 0x97

(J3100)

const int DIK_NEXTTRACK = 0x99

Next Track.

const int DIK_NUMPADENTER = 0x9c

Enter on numeric keypad.

const int DIK_RCONTROL = 0x9d
const int DIK_MUTE = 0xa0

Mute.

const int DIK_CALCULATOR = 0xa1

Calculator.

const int DIK_PLAYPAUSE = 0xa2

Play / Pause.

const int DIK_MEDIASTOP = 0xa4

Media Stop.

const int DIK_VOLUMEDOWN = 0xae

Volume -.

const int DIK_VOLUMEUP = 0xb0

Volume +.

const int DIK_WEBHOME = 0xb2

Web home.

const int DIK_NUMPADCOMMA = 0xb3

; on numeric keypad (NEC PC98)

const int DIK_DIVIDE = 0xb5

/ on numeric keypad

const int DIK_SYSRQ = 0xb7
const int DIK_RMENU = 0xb8

right Alt

const int DIK_PAUSE = 0xc5

Pause.

const int DIK_HOME = 0xc7

Home on arrow keypad.

const int DIK_UP = 0xc8

UpArrow on arrow keypad.

const int DIK_PRIOR = 0xc9

PgUp on arrow keypad.

const int DIK_LEFT = 0xcb

LeftArrow on arrow keypad.

const int DIK_RIGHT = 0xcd

RightArrow on arrow keypad.

const int DIK_END = 0xcf

End on arrow keypad.

const int DIK_DOWN = 0xd0

DownArrow on arrow keypad.

const int DIK_NEXT = 0xd1

PgDn on arrow keypad.

const int DIK_INSERT = 0xd2

Insert on arrow keypad.

const int DIK_DELETE = 0xd3

Delete on arrow keypad.

const int DIK_LWIN = 0xdb

Left Windows key.

Referenced by DayZGame::OnKeyRelease().

const int DIK_RWIN = 0xdc

Right Windows key.

const int DIK_APPS = 0xdd

AppMenu key.

const int DIK_POWER = 0xde

System Power.

const int DIK_SLEEP = 0xdf

System Sleep.

const int DIK_WAKE = 0xe3

System Wake.

const int DIK_MEDIASELECT = 0xed

Media Select.

Converted from CHM to HTML with chm2web Pro 2.85 (unicode)