@ name
Definition base.h:690
Handle input from standard HID devices connected to the Driver Station.
Definition GenericHID.hpp:28
RumbleType
Represents a rumble output on the Joystick.
Definition GenericHID.hpp:33
HIDType
USB HID interface type.
Definition GenericHID.hpp:65
SupportedOutputs
Represents the various outputs that a HID may support.
Definition GenericHID.hpp:47
GenericHIDSim(const GenericHID &joystick)
Constructs from a GenericHID object.
void SetButtonsMaximumIndex(int maximumIndex)
void SetRawButton(int button, bool value)
Set the value of a given button.
void SetButtonsAvailable(uint64_t count)
Set the button count of this device.
void SetPOV(POVDirection value)
Set the value of the default POV (port 0).
GenericHIDSim(int port)
Constructs from a joystick port number.
int32_t GetLeds()
Get the value of set LEDs.
double GetRumble(GenericHID::RumbleType type)
Get the joystick rumble.
void SetName(const char *name)
Set the name of this device.
void SetAxesAvailable(int count)
Set the axis count of this device.
void SetPOVsAvailable(int count)
Set the POV count of this device.
int m_port
GenericHID port.
Definition GenericHIDSim.hpp:133
void SetRawAxis(int axis, double value)
Set the value of a given axis.
void SetSupportedOutputs(GenericHID::SupportedOutputs supportedOutputs)
void SetPOVsMaximumIndex(int maximumIndex)
void NotifyNewData()
Updates joystick data so that new values are visible to the user program.
void SetGamepadType(GenericHID::HIDType type)
Set the type of this device.
void SetAxesMaximumIndex(int maximumIndex)
void SetPOV(int pov, POVDirection value)
Set the value of a given POV.
Definition CTREPCMSim.hpp:13
Definition CvSource.hpp:15
POVDirection
A controller POV direction.
Definition POVDirection.hpp:18