docs/html/classInputDevices.html
| | Jetson Inference
DNN Vision Library |
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
InputDevices Class Reference Utilities Library (jetson-utils) » Input
Input device manager. More...
#include <devInput.h>
|
|
| | ~InputDevices () |
| | Destructor. More...
|
| |
| bool | Poll (uint32_t timeout=0) |
| | Poll the devices for updates. More...
|
| |
| KeyboardDevice * | GetKeyboard () const |
| | Retrieve the keyboard device. More...
|
| |
| JoystickDevice * | GetJoystick () const |
| | Retrieve the gamepad device. More...
|
| |
|
|
| static InputDevices * | Create () |
| | Create device. More...
|
| |
| static void | Enumerate (DeviceList &devices) |
| | Scan /dev/input for devices. More...
|
| |
| static std::string | FindPathByName (const char *name) |
| | Find /dev/input path by device name. More...
|
| |
|
| | | InputDevices () | | |
|
| | KeyboardDevice * | mKeyboard | | | | JoystickDevice * | mJoystick | | |
Input device manager.
| InputDevices::~InputDevices | ( | | ) | |
Destructor.
|
| InputDevices::InputDevices | ( | | ) | |
| protected |
|
| static InputDevices* InputDevices::Create | ( | | ) | |
| static |
Create device.
|
| static void InputDevices::Enumerate | ( | DeviceList & | devices | ) | |
| static |
Scan /dev/input for devices.
|
| static std::string InputDevices::FindPathByName | ( | const char * | name | ) | |
| static |
Find /dev/input path by device name.
|
| JoystickDevice* InputDevices::GetJoystick | ( | | ) | const |
| inline |
Retrieve the gamepad device.
|
| KeyboardDevice* InputDevices::GetKeyboard | ( | | ) | const |
| inline |
Retrieve the keyboard device.
| bool InputDevices::Poll | ( | uint32_t | timeout = 0 | ) | |
Poll the devices for updates.
|
| JoystickDevice* InputDevices::mJoystick |
| protected |
|
| KeyboardDevice* InputDevices::mKeyboard |
| protected |
The documentation for this class was generated from the following file:
jetson-utils/devInput.h
Generated on Fri Mar 17 2023 14:29:30 for Jetson Inference by 1.8.17