dual_sense_hid namespace
Dual Sense support library.
Classes
- struct Calibration
- Calibration data for accelerometer & gyroscope.
- struct DeviceInfo
- Enumerated info of connected gamepad.
- class Gamepad
- Gamepad handle used to poll state from device.
- struct State
- State of analogs, buttons, etc. of gamepad.
Enums
- enum class ConnectionType: uint8_t { USB, BLUETOOTH }
- method of connection
Functions
- auto enumerate() -> std::vector<DeviceInfo>
- Enumerate connected gamepads.
Variables
- static unsigned long VENDOR_ID constexpr
- static unsigned long PRODUCT_ID constexpr
Enum documentation
enum class dual_ sense_ hid:: ConnectionType: uint8_t
#include <dual_sense_hid/enums.hpp>
method of connection
Enumerators | |
---|---|
USB |
USB connection |
BLUETOOTH |
Bluetooth connection |
Function documentation
std::vector<DeviceInfo> dual_ sense_ hid:: enumerate()
#include <dual_sense_hid/gamepad.hpp>
Enumerate connected gamepads.
Returns | A vector of info for connected devices |
---|
Variable documentation
static unsigned long dual_ sense_ hid:: VENDOR_ID constexpr
#include <dual_sense_hid/gamepad.hpp>
Vendor ID of DualSense gamepad
static unsigned long dual_ sense_ hid:: PRODUCT_ID constexpr
#include <dual_sense_hid/gamepad.hpp>
Product ID of DualSense gamepad