Classes | Namespaces | Macros | Enumerations | Functions | Variables
hid-types.h File Reference
#include <stdint.h>
#include <sstream>
#include <string>
#include <map>
Include dependency graph for hid-types.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  librealsense::platform::FEATURE_REPORT
 
struct  librealsense::platform::hid_device_info
 
struct  librealsense::platform::REALSENSE_FEATURE_REPORT
 
struct  librealsense::platform::REALSENSE_HID_REPORT
 

Namespaces

 librealsense
 
 librealsense::platform
 

Macros

#define DEVICE_POWER_D0   2
 
#define DEVICE_POWER_D4   6
 
#define HID_REPORT_TYPE_FEATURE   3
 
#define HID_REPORT_TYPE_INPUT   1
 
#define REPORT_ID_ACCELEROMETER_3D   1
 
#define REPORT_ID_CUSTOM   3
 
#define REPORT_ID_GYROMETER_3D   2
 

Enumerations

enum  librealsense::platform::HID_REQUEST_CODE {
  librealsense::platform::HID_REQUEST_GET_REPORT = 0x1, librealsense::platform::HID_REQUEST_GET_IDLE = 0x2, librealsense::platform::HID_REQUEST_GET_PROTOCOL = 0x3, librealsense::platform::HID_REQUEST_SET_REPORT = 0x9,
  librealsense::platform::HID_REQUEST_SET_IDLE = 0xa, librealsense::platform::HID_REQUEST_SET_PROTOCOL = 0xb
}
 
enum  librealsense::platform::USB_REQUEST_CODE { librealsense::platform::USB_REQUEST_CODE_GET = 0xa1, librealsense::platform::USB_REQUEST_CODE_SET = 0x21 }
 

Functions

bool librealsense::platform::operator== (const hid_device_info &a, const hid_device_info &b)
 

Variables

static std::string accel = "accel_3d"
 
static std::string custom = "custom"
 
static std::string gyro = "gyro_3d"
 
const size_t SIZE_OF_HID_IMU_FRAME = 32
 

Macro Definition Documentation

#define DEVICE_POWER_D0   2

Definition at line 14 of file hid-types.h.

#define DEVICE_POWER_D4   6

Definition at line 15 of file hid-types.h.

#define HID_REPORT_TYPE_FEATURE   3

Definition at line 12 of file hid-types.h.

#define HID_REPORT_TYPE_INPUT   1

Definition at line 11 of file hid-types.h.

#define REPORT_ID_ACCELEROMETER_3D   1

Definition at line 17 of file hid-types.h.

#define REPORT_ID_CUSTOM   3

Definition at line 19 of file hid-types.h.

#define REPORT_ID_GYROMETER_3D   2

Definition at line 18 of file hid-types.h.

Variable Documentation

std::string accel = "accel_3d"
static

Definition at line 24 of file hid-types.h.

std::string custom = "custom"
static

Definition at line 25 of file hid-types.h.

std::string gyro = "gyro_3d"
static

Definition at line 23 of file hid-types.h.

const size_t SIZE_OF_HID_IMU_FRAME = 32

Definition at line 21 of file hid-types.h.



librealsense2
Author(s): Sergey Dorodnicov , Doron Hirshberg , Mark Horn , Reagan Lopez , Itay Carpis
autogenerated on Mon May 3 2021 02:50:26