Keyboard device.
More...
#include <devKeyboard.h>
◆ ~KeyboardDevice()
KeyboardDevice::~KeyboardDevice |
( |
| ) |
|
◆ KeyboardDevice()
KeyboardDevice::KeyboardDevice |
( |
| ) |
|
|
protected |
◆ Create()
static KeyboardDevice* KeyboardDevice::Create |
( |
const char * |
path = "/dev/input/by-path/platform-i8042-serio-0-event-kbd" | ) |
|
|
static |
◆ KeyDown()
bool KeyboardDevice::KeyDown |
( |
uint32_t |
code | ) |
const |
Check if a particular key is pressed.
◆ Poll()
bool KeyboardDevice::Poll |
( |
uint32_t |
timeout = 0 | ) |
|
Poll the device for updates.
◆ MAX_KEYS
const int KeyboardDevice::MAX_KEYS = 256 |
|
staticprotected |
◆ mFD
◆ mKeyMap
◆ mPath
std::string KeyboardDevice::mPath |
|
protected |
The documentation for this class was generated from the following file: