Back to Jetson Inference

Jetson Inference: JoystickDevice Class Reference

docs/html/classJoystickDevice.html

latest3.8 KB
Original Source

| | Jetson Inference

DNN Vision Library |

Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | Static Protected Attributes | List of all members

JoystickDevice Class Reference Utilities Library (jetson-utils) » Input

Joystick device. More...

#include <devJoystick.h>

|

Public Member Functions

| | | ~JoystickDevice () | | | Destructor. More...
| | | | bool | Poll (uint32_t timeout=0) | | | Poll the device for updates. More...
| | |

|

Static Public Member Functions

| | static JoystickDevice * | Create (const char *device="Microntek USB Joystick ") | | | Create device. More...
| | |

|

Protected Member Functions

| | | JoystickDevice () | | |

|

Protected Attributes

| | float | mAxisNorm [MAX_AXIS] | | | | int | mAxisRaw [MAX_AXIS] | | | | int | mFD | | | | std::string | mPath | | |

|

Static Protected Attributes

| | static const int | MAX_AXIS = 256 | | |

Detailed Description

Joystick device.

Constructor & Destructor Documentation

~JoystickDevice()

| JoystickDevice::~JoystickDevice | ( | | ) | |

Destructor.

JoystickDevice()

|

| JoystickDevice::JoystickDevice | ( | | ) | |

| protected |

Member Function Documentation

Create()

|

| static JoystickDevice* JoystickDevice::Create | ( | const char * | device = "Microntek USB Joystick " | ) | |

| static |

Create device.

Poll()

| bool JoystickDevice::Poll | ( | uint32_t | timeout = 0 | ) | |

Poll the device for updates.

Member Data Documentation

MAX_AXIS

|

| const int JoystickDevice::MAX_AXIS = 256 |

| staticprotected |

mAxisNorm

|

| float JoystickDevice::mAxisNorm[MAX_AXIS] |

| protected |

mAxisRaw

|

| int JoystickDevice::mAxisRaw[MAX_AXIS] |

| protected |

mFD

|

| int JoystickDevice::mFD |

| protected |

mPath

|

| std::string JoystickDevice::mPath |

| protected |


The documentation for this class was generated from the following file: