#include <cInputKeyboard.h>
◆ cInputKeyboardState() [1/2]
GrayLib::cInputKeyboardState::cInputKeyboardState |
( |
| ) |
|
|
inlinenoexcept |
◆ cInputKeyboardState() [2/2]
◆ GetKeyState()
BYTE GrayLib::cInputKeyboardState::GetKeyState |
( |
ITERATE_t |
nScanCode | ) |
const |
|
inline |
◆ InitZero()
void GrayLib::cInputKeyboardState::InitZero |
( |
| ) |
|
|
inlinenoexcept |
◆ IsKeyPressed()
bool GrayLib::cInputKeyboardState::IsKeyPressed |
( |
ITERATE_t |
nScanCode | ) |
const |
nScanCode = offset of key in the raw enum of the device. Scan code.
◆ k_KeyQty
const int GrayLib::cInputKeyboardState::k_KeyQty = 256 |
|
static |
max keys i can have is 255
◆ m_aKeyState
BYTE GrayLib::cInputKeyboardState::m_aKeyState[k_KeyQty] |
|
protected |
state of all keys on the keyboard. from top left key = 0, 0x80 = pressed, 1 = toggled.
The documentation for this class was generated from the following files: