CommonLibSSE (Parapets fork)
BSKeyboardDevice.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include "RE/B/BSInputDevice.h"
4 
5 namespace RE
6 {
8  {
9  public:
10  inline static constexpr auto RTTI = RTTI_BSKeyboardDevice;
11 
12  struct Keys
13  {
14  enum Key : std::uint32_t
15  {
16  kEscape = 0x01,
17  kNum1 = 0x02,
18  kNum2 = 0x03,
19  kNum3 = 0x04,
20  kNum4 = 0x05,
21  kNum5 = 0x06,
22  kNum6 = 0x07,
23  kNum7 = 0x08,
24  kNum8 = 0x09,
25  kNum9 = 0x0A,
26  kNum0 = 0x0B,
27  kMinus = 0x0C,
28  kEquals = 0x0D,
29  kBackspace = 0x0E,
30  kTab = 0x0F,
31  kQ = 0x10,
32  kW = 0x11,
33  kE = 0x12,
34  kR = 0x13,
35  kT = 0x14,
36  kY = 0x15,
37  kU = 0x16,
38  kI = 0x17,
39  kO = 0x18,
40  kP = 0x19,
41  kBracketLeft = 0x1A,
42  kBracketRight = 0x1B,
43  kEnter = 0x1C,
44  kLeftControl = 0x1D,
45  kA = 0x1E,
46  kS = 0x1F,
47  kD = 0x20,
48  kF = 0x21,
49  kG = 0x22,
50  kH = 0x23,
51  kJ = 0x24,
52  kK = 0x25,
53  kL = 0x26,
54  kSemicolon = 0x27,
55  kApostrophe = 0x28,
56  kTilda = 0x29,
57  kLeftShift = 0x2A,
58  kBackslash = 0x2B,
59  kZ = 0x2C,
60  kX = 0x2D,
61  kC = 0x2E,
62  kV = 0x2F,
63  kB = 0x30,
64  kN = 0x31,
65  kM = 0x32,
66  kComma = 0x33,
67  kPeriod = 0x34,
68  kSlash = 0x35,
69  kRightShift = 0x36,
70  kKP_Multiply = 0x37,
71  kLeftAlt = 0x38,
72  kSpacebar = 0x39,
73  kCapsLock = 0x3A,
74  kF1 = 0x3B,
75  kF2 = 0x3C,
76  kF3 = 0x3D,
77  kF4 = 0x3E,
78  kF5 = 0x3F,
79  kF6 = 0x40,
80  kF7 = 0x41,
81  kF8 = 0x42,
82  kF9 = 0x43,
83  kF10 = 0x44,
84  kNumLock = 0x45,
85  kScrollLock = 0x46,
86  kKP_7 = 0x47,
87  kKP_8 = 0x48,
88  kKP_9 = 0x49,
89  kKP_Subtract = 0x4A,
90  kKP_4 = 0x4B,
91  kKP_5 = 0x4C,
92  kKP_6 = 0x4D,
93  kKP_Plus = 0x4E,
94  kKP_1 = 0x4F,
95  kKP_2 = 0x50,
96  kKP_3 = 0x51,
97  kKP_0 = 0x52,
98  kKP_Decimal = 0x53,
99 
100  kF11 = 0x57,
101  kF12 = 0x58,
102 
103  kKP_Enter = 0x9C,
105 
106  kKP_Divide = 0xB5,
107 
108  kPrintScreen = 0xB7,
109  kRightAlt = 0xB8,
110 
111  kPause = 0xC5,
112 
113  kHome = 0xC7,
114  kUp = 0xC8,
115  kPageUp = 0xC9,
116 
117  kLeft = 0xCB,
118 
119  kRight = 0xCD,
120 
121  kEnd = 0xCF,
122  kDown = 0xD0,
123  kPageDown = 0xD1,
124  kInsert = 0xD2,
125  kDelete = 0xD3
126  };
127  };
128  using Key = Keys::Key;
129 
130  ~BSKeyboardDevice() override; // 00
131 
132  // add
133  virtual void Unk_09(void) = 0; // 09
134  virtual void Unk_0A(void) = 0; // 0A
135  };
136  static_assert(sizeof(BSKeyboardDevice) == 0x70);
137 }
Definition: BSInputDevice.h:11
Definition: BSKeyboardDevice.h:8
static constexpr auto RTTI
Definition: BSKeyboardDevice.h:10
virtual void Unk_09(void)=0
virtual void Unk_0A(void)=0
~BSKeyboardDevice() override
Definition: AbsorbEffect.h:6
constexpr REL::ID RTTI_BSKeyboardDevice
Definition: Offsets_RTTI.h:1879
Definition: BSKeyboardDevice.h:13
Key
Definition: BSKeyboardDevice.h:15
@ kPause
Definition: BSKeyboardDevice.h:111
@ kX
Definition: BSKeyboardDevice.h:60
@ kNum1
Definition: BSKeyboardDevice.h:17
@ kF1
Definition: BSKeyboardDevice.h:74
@ kF
Definition: BSKeyboardDevice.h:48
@ kO
Definition: BSKeyboardDevice.h:39
@ kPeriod
Definition: BSKeyboardDevice.h:67
@ kF4
Definition: BSKeyboardDevice.h:77
@ kKP_3
Definition: BSKeyboardDevice.h:96
@ kY
Definition: BSKeyboardDevice.h:36
@ kG
Definition: BSKeyboardDevice.h:49
@ kBackspace
Definition: BSKeyboardDevice.h:29
@ kW
Definition: BSKeyboardDevice.h:32
@ kNumLock
Definition: BSKeyboardDevice.h:84
@ kF11
Definition: BSKeyboardDevice.h:100
@ kNum7
Definition: BSKeyboardDevice.h:23
@ kKP_Plus
Definition: BSKeyboardDevice.h:93
@ kF10
Definition: BSKeyboardDevice.h:83
@ kNum4
Definition: BSKeyboardDevice.h:20
@ kKP_4
Definition: BSKeyboardDevice.h:90
@ kTilda
Definition: BSKeyboardDevice.h:56
@ kBracketRight
Definition: BSKeyboardDevice.h:42
@ kHome
Definition: BSKeyboardDevice.h:113
@ kKP_1
Definition: BSKeyboardDevice.h:94
@ kL
Definition: BSKeyboardDevice.h:53
@ kKP_Enter
Definition: BSKeyboardDevice.h:103
@ kInsert
Definition: BSKeyboardDevice.h:124
@ kKP_Multiply
Definition: BSKeyboardDevice.h:70
@ kC
Definition: BSKeyboardDevice.h:61
@ kP
Definition: BSKeyboardDevice.h:40
@ kKP_6
Definition: BSKeyboardDevice.h:92
@ kN
Definition: BSKeyboardDevice.h:64
@ kBracketLeft
Definition: BSKeyboardDevice.h:41
@ kF8
Definition: BSKeyboardDevice.h:81
@ kSemicolon
Definition: BSKeyboardDevice.h:54
@ kNum6
Definition: BSKeyboardDevice.h:22
@ kPageDown
Definition: BSKeyboardDevice.h:123
@ kF6
Definition: BSKeyboardDevice.h:79
@ kI
Definition: BSKeyboardDevice.h:38
@ kF12
Definition: BSKeyboardDevice.h:101
@ kRightShift
Definition: BSKeyboardDevice.h:69
@ kA
Definition: BSKeyboardDevice.h:45
@ kScrollLock
Definition: BSKeyboardDevice.h:85
@ kF3
Definition: BSKeyboardDevice.h:76
@ kApostrophe
Definition: BSKeyboardDevice.h:55
@ kKP_5
Definition: BSKeyboardDevice.h:91
@ kKP_Divide
Definition: BSKeyboardDevice.h:106
@ kKP_7
Definition: BSKeyboardDevice.h:86
@ kLeft
Definition: BSKeyboardDevice.h:117
@ kD
Definition: BSKeyboardDevice.h:47
@ kF2
Definition: BSKeyboardDevice.h:75
@ kLeftAlt
Definition: BSKeyboardDevice.h:71
@ kEnter
Definition: BSKeyboardDevice.h:43
@ kRightAlt
Definition: BSKeyboardDevice.h:109
@ kU
Definition: BSKeyboardDevice.h:37
@ kT
Definition: BSKeyboardDevice.h:35
@ kNum2
Definition: BSKeyboardDevice.h:18
@ kB
Definition: BSKeyboardDevice.h:63
@ kEscape
Definition: BSKeyboardDevice.h:16
@ kNum3
Definition: BSKeyboardDevice.h:19
@ kKP_Decimal
Definition: BSKeyboardDevice.h:98
@ kF7
Definition: BSKeyboardDevice.h:80
@ kZ
Definition: BSKeyboardDevice.h:59
@ kNum5
Definition: BSKeyboardDevice.h:21
@ kTab
Definition: BSKeyboardDevice.h:30
@ kNum8
Definition: BSKeyboardDevice.h:24
@ kLeftShift
Definition: BSKeyboardDevice.h:57
@ kNum9
Definition: BSKeyboardDevice.h:25
@ kR
Definition: BSKeyboardDevice.h:34
@ kNum0
Definition: BSKeyboardDevice.h:26
@ kPageUp
Definition: BSKeyboardDevice.h:115
@ kKP_Subtract
Definition: BSKeyboardDevice.h:89
@ kComma
Definition: BSKeyboardDevice.h:66
@ kDelete
Definition: BSKeyboardDevice.h:125
@ kH
Definition: BSKeyboardDevice.h:50
@ kM
Definition: BSKeyboardDevice.h:65
@ kQ
Definition: BSKeyboardDevice.h:31
@ kRight
Definition: BSKeyboardDevice.h:119
@ kF5
Definition: BSKeyboardDevice.h:78
@ kRightControl
Definition: BSKeyboardDevice.h:104
@ kLeftControl
Definition: BSKeyboardDevice.h:44
@ kKP_2
Definition: BSKeyboardDevice.h:95
@ kMinus
Definition: BSKeyboardDevice.h:27
@ kBackslash
Definition: BSKeyboardDevice.h:58
@ kJ
Definition: BSKeyboardDevice.h:51
@ kS
Definition: BSKeyboardDevice.h:46
@ kKP_0
Definition: BSKeyboardDevice.h:97
@ kKP_8
Definition: BSKeyboardDevice.h:87
@ kSlash
Definition: BSKeyboardDevice.h:68
@ kF9
Definition: BSKeyboardDevice.h:82
@ kCapsLock
Definition: BSKeyboardDevice.h:73
@ kEquals
Definition: BSKeyboardDevice.h:28
@ kPrintScreen
Definition: BSKeyboardDevice.h:108
@ kSpacebar
Definition: BSKeyboardDevice.h:72
@ kE
Definition: BSKeyboardDevice.h:33
@ kDown
Definition: BSKeyboardDevice.h:122
@ kK
Definition: BSKeyboardDevice.h:52
@ kEnd
Definition: BSKeyboardDevice.h:121
@ kV
Definition: BSKeyboardDevice.h:62
@ kUp
Definition: BSKeyboardDevice.h:114
@ kKP_9
Definition: BSKeyboardDevice.h:88