CommonLibSSE NG
GFxKey.h
Go to the documentation of this file.
1 #pragma once
2 
3 namespace RE
4 {
5  class GFxKey
6  {
7  public:
8  enum Code : std::uint32_t
9  {
11 
12  // A through Z and numbers 0 through 9.
13  kA = 65,
14  kB,
15  kC,
16  kD,
17  kE,
18  kF,
19  kG,
20  kH,
21  kI,
22  kJ,
23  kK,
24  kL,
25  kM,
26  kN,
27  kO,
28  kP,
29  kQ,
30  kR,
31  kS,
32  kT,
33  kU,
34  kV,
35  kW,
36  kX,
37  kY,
38  kZ,
39  kNum0 = 48,
49 
50  // Numeric keypad.
51  kKP_0 = 96,
67 
68  // Function keys.
69  kF1 = 112,
70  kF2,
71  kF3,
72  kF4,
73  kF5,
74  kF6,
75  kF7,
76  kF8,
77  kF9,
84 
85  // Other keys.
88  kClear = 12,
90  kShift = 16,
94  kCapsLock = 20, // Toggle
95  kEscape = 27,
96  kSpace = 32,
99  kEnd = 35,
105  kInsert = 45,
108  kNumLock = 144, // Toggle
109  kScrollLock = 145, // Toggle
110 
111  kSemicolon = 186,
112  kEqual = 187,
113  kComma = 188, // Platform specific?
114  kMinus = 189,
115  kPeriod = 190, // Platform specific?
116  kSlash = 191,
117  kBar = 192,
119  kBackslash = 220,
121  kQuote = 222,
122 
123  kOEM_AX = 0xE1, // 'AX' key on Japanese AX kbd
124  kOEM_102 = 0xE2, // "<>" or "\|" on RT 102-key kbd.
125  kICO_HELP = 0xE3, // Help key on ICO
126  kICO_00 = 0xE4, // 00 key on ICO
127 
128  kTotal
129  };
130  };
131  static_assert(sizeof(GFxKey) == 0x1);
132 }
Definition: GFxKey.h:6
Code
Definition: GFxKey.h:9
@ kBar
Definition: GFxKey.h:117
@ kKP_4
Definition: GFxKey.h:55
@ kPageUp
Definition: GFxKey.h:97
@ kF14
Definition: GFxKey.h:82
@ kF13
Definition: GFxKey.h:81
@ kO
Definition: GFxKey.h:27
@ kKP_5
Definition: GFxKey.h:56
@ kOEM_102
Definition: GFxKey.h:124
@ kMinus
Definition: GFxKey.h:114
@ kF3
Definition: GFxKey.h:71
@ kZ
Definition: GFxKey.h:38
@ kA
Definition: GFxKey.h:13
@ kNum6
Definition: GFxKey.h:45
@ kLeft
Definition: GFxKey.h:101
@ kInsert
Definition: GFxKey.h:105
@ kR
Definition: GFxKey.h:30
@ kX
Definition: GFxKey.h:36
@ kDown
Definition: GFxKey.h:104
@ kP
Definition: GFxKey.h:28
@ kBracketLeft
Definition: GFxKey.h:118
@ kF7
Definition: GFxKey.h:75
@ kTab
Definition: GFxKey.h:87
@ kY
Definition: GFxKey.h:37
@ kNum8
Definition: GFxKey.h:47
@ kF11
Definition: GFxKey.h:79
@ kKP_7
Definition: GFxKey.h:58
@ kKP_6
Definition: GFxKey.h:57
@ kE
Definition: GFxKey.h:17
@ kNum3
Definition: GFxKey.h:42
@ kEscape
Definition: GFxKey.h:95
@ kL
Definition: GFxKey.h:24
@ kF8
Definition: GFxKey.h:76
@ kEnd
Definition: GFxKey.h:99
@ kV
Definition: GFxKey.h:34
@ kI
Definition: GFxKey.h:21
@ kKP_0
Definition: GFxKey.h:51
@ kSpace
Definition: GFxKey.h:96
@ kF10
Definition: GFxKey.h:78
@ kSlash
Definition: GFxKey.h:116
@ kKP_Subtract
Definition: GFxKey.h:64
@ kKP_3
Definition: GFxKey.h:54
@ kOEM_AX
Definition: GFxKey.h:123
@ kNum4
Definition: GFxKey.h:43
@ kNumLock
Definition: GFxKey.h:108
@ kNum9
Definition: GFxKey.h:48
@ kVoidSymbol
Definition: GFxKey.h:10
@ kScrollLock
Definition: GFxKey.h:109
@ kHome
Definition: GFxKey.h:100
@ kF12
Definition: GFxKey.h:80
@ kClear
Definition: GFxKey.h:88
@ kF
Definition: GFxKey.h:18
@ kKP_Decimal
Definition: GFxKey.h:65
@ kG
Definition: GFxKey.h:19
@ kF2
Definition: GFxKey.h:70
@ kF6
Definition: GFxKey.h:74
@ kT
Definition: GFxKey.h:32
@ kBackspace
Definition: GFxKey.h:86
@ kPeriod
Definition: GFxKey.h:115
@ kHelp
Definition: GFxKey.h:107
@ kC
Definition: GFxKey.h:15
@ kControl
Definition: GFxKey.h:91
@ kKP_Enter
Definition: GFxKey.h:63
@ kF5
Definition: GFxKey.h:73
@ kEqual
Definition: GFxKey.h:112
@ kICO_00
Definition: GFxKey.h:126
@ kKP_8
Definition: GFxKey.h:59
@ kBracketRight
Definition: GFxKey.h:120
@ kKP_Divide
Definition: GFxKey.h:66
@ kAlt
Definition: GFxKey.h:92
@ kQuote
Definition: GFxKey.h:121
@ kU
Definition: GFxKey.h:33
@ kB
Definition: GFxKey.h:14
@ kTotal
Definition: GFxKey.h:128
@ kICO_HELP
Definition: GFxKey.h:125
@ kH
Definition: GFxKey.h:20
@ kNum7
Definition: GFxKey.h:46
@ kPause
Definition: GFxKey.h:93
@ kShift
Definition: GFxKey.h:90
@ kK
Definition: GFxKey.h:23
@ kBackslash
Definition: GFxKey.h:119
@ kW
Definition: GFxKey.h:35
@ kSemicolon
Definition: GFxKey.h:111
@ kM
Definition: GFxKey.h:25
@ kUp
Definition: GFxKey.h:102
@ kF9
Definition: GFxKey.h:77
@ kKP_2
Definition: GFxKey.h:53
@ kQ
Definition: GFxKey.h:29
@ kNum5
Definition: GFxKey.h:44
@ kD
Definition: GFxKey.h:16
@ kJ
Definition: GFxKey.h:22
@ kComma
Definition: GFxKey.h:113
@ kF1
Definition: GFxKey.h:69
@ kKP_Add
Definition: GFxKey.h:62
@ kF4
Definition: GFxKey.h:72
@ kNum2
Definition: GFxKey.h:41
@ kReturn
Definition: GFxKey.h:89
@ kN
Definition: GFxKey.h:26
@ kPageDown
Definition: GFxKey.h:98
@ kNum1
Definition: GFxKey.h:40
@ kKP_Multiply
Definition: GFxKey.h:61
@ kKP_9
Definition: GFxKey.h:60
@ kF15
Definition: GFxKey.h:83
@ kS
Definition: GFxKey.h:31
@ kNum0
Definition: GFxKey.h:39
@ kDelete
Definition: GFxKey.h:106
@ kKP_1
Definition: GFxKey.h:52
@ kRight
Definition: GFxKey.h:103
@ kCapsLock
Definition: GFxKey.h:94
Definition: AbsorbEffect.h:6