#include <JoystickUtils.h>
◆ GetAnalogStickDirections()
Return a vector of the four cardinal directions.
◆ GetThrottleDirections()
Return a vector of the two throttle directions.
◆ GetWheelDirections()
const std::vector< WHEEL_DIRECTION > & CJoystickUtils::GetWheelDirections |
( |
| ) |
|
|
static |
Return a vector of the two wheel directions.
◆ MakeKeyName() [1/4]
std::string CJoystickUtils::MakeKeyName |
( |
const FeatureName & | feature | ) |
|
|
static |
Create a key name used to index an action in the keymap.
- Parameters
-
- Returns
- A valid name for a key in the joystick keymap
◆ MakeKeyName() [2/4]
Create a key name used to index an action in the keymap.
- Parameters
-
feature | The feature name |
dir | The direction for analog sticks |
- Returns
- A valid name for a key in the joystick keymap
◆ MakeKeyName() [3/4]
Create a key name used to index an action in the keymap.
- Parameters
-
feature | The feature name |
dir | The direction for a throttle to move |
- Returns
- A valid name for a key in the joystick keymap
◆ MakeKeyName() [4/4]
Create a key name used to index an action in the keymap.
- Parameters
-
feature | The feature name |
dir | The direction for a wheel to turn |
- Returns
- A valid name for a key in the joystick keymap
The documentation for this class was generated from the following files: