![]() |
Gray C++ Libraries
0.0.2
A set of C++ libraries for MSVC, GNU on Windows, WinCE, Linux
|
#include <cInputKeyboard.h>
Public Member Functions | |
| cInputKeyboardBase () noexcept | |
| ITERATE_t | get_KeyQty () const noexcept |
| const cInputKeyObj & | GetKeyObj (ITERATE_t nScanCode) const |
| cString | GetKeyName (ITERATE_t nScanCode) const |
Public Member Functions inherited from GrayLib::cInputKeyboardState | |
| cInputKeyboardState () noexcept | |
| cInputKeyboardState (const cInputKeyboardState &c) noexcept | |
| void | InitZero () noexcept |
| BYTE | GetKeyState (ITERATE_t nScanCode) const |
| bool | IsKeyPressed (ITERATE_t nScanCode) const |
Protected Attributes | |
| cArrayStruct< cInputKeyObj > | m_aKeyObjects |
| Array of all keys on the device. (up to 255) More... | |
Protected Attributes inherited from GrayLib::cInputKeyboardState | |
| BYTE | m_aKeyState [k_KeyQty] |
| state of all keys on the keyboard. from top left key = 0, 0x80 = pressed, 1 = toggled. More... | |
Additional Inherited Members | |
Static Public Attributes inherited from GrayLib::cInputKeyboardState | |
| static const int | k_KeyQty = 256 |
| max keys i can have is 255 More... | |
A keyboard device.
|
inlinenoexcept |
|
inlinenoexcept |
enum the keys on the keyboard. map to ASCII value or VK_ESCAPE windows value ? nScanCode = Scan code.
|
inline |
nScanCode = Scan code.
|
protected |
Array of all keys on the device. (up to 255)