docs/html/classKeyboardDevice.html
| | Jetson Inference
DNN Vision Library |
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | Static Protected Attributes | List of all members
KeyboardDevice Class Reference Utilities Library (jetson-utils) » Input
Keyboard device. More...
#include <devKeyboard.h>
|
|
| | ~KeyboardDevice () |
| | Destructor. More...
|
| |
| bool | Poll (uint32_t timeout=0) |
| | Poll the device for updates. More...
|
| |
| bool | KeyDown (uint32_t code) const |
| | Check if a particular key is pressed. More...
|
| |
|
|
| static KeyboardDevice * | Create (const char *path="/dev/input/by-path/platform-i8042-serio-0-event-kbd") |
| | Create device. More...
|
| |
|
| | | KeyboardDevice () | | |
|
| | int | mKeyMap [MAX_KEYS] | | | | int | mFD | | | | std::string | mPath | | |
|
| | static const int | MAX_KEYS = 256 | | |
Keyboard device.
| KeyboardDevice::~KeyboardDevice | ( | | ) | |
Destructor.
|
| KeyboardDevice::KeyboardDevice | ( | | ) | |
| protected |
|
| static KeyboardDevice* KeyboardDevice::Create | ( | const char * | path = "/dev/input/by-path/platform-i8042-serio-0-event-kbd" | ) | |
| static |
Create device.
| bool KeyboardDevice::KeyDown | ( | uint32_t | code | ) | const |
Check if a particular key is pressed.
| bool KeyboardDevice::Poll | ( | uint32_t | timeout = 0 | ) | |
Poll the device for updates.
|
| const int KeyboardDevice::MAX_KEYS = 256 |
| staticprotected |
|
| int KeyboardDevice::mFD |
| protected |
|
| int KeyboardDevice::mKeyMap[MAX_KEYS] |
| protected |
|
| std::string KeyboardDevice::mPath |
| protected |
The documentation for this class was generated from the following file:
jetson-utils/devKeyboard.h
Generated on Fri Mar 17 2023 14:29:30 for Jetson Inference by 1.8.17