|
static std::string | MakeKeyName (const FeatureName &feature) |
| Create a key name used to index an action in the keymap. More...
|
|
static std::string | MakeKeyName (const FeatureName &feature, ANALOG_STICK_DIRECTION dir) |
| Create a key name used to index an action in the keymap. More...
|
|
static std::string | MakeKeyName (const FeatureName &feature, WHEEL_DIRECTION dir) |
| Create a key name used to index an action in the keymap. More...
|
|
static std::string | MakeKeyName (const FeatureName &feature, THROTTLE_DIRECTION dir) |
| Create a key name used to index an action in the keymap. More...
|
|
static const std::vector< ANALOG_STICK_DIRECTION > & | GetAnalogStickDirections () |
| Return a vector of the four cardinal directions.
|
|
static const std::vector< WHEEL_DIRECTION > & | GetWheelDirections () |
| Return a vector of the two wheel directions.
|
|
static const std::vector< THROTTLE_DIRECTION > & | GetThrottleDirections () |
| Return a vector of the two throttle 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]
std::string CJoystickUtils::MakeKeyName |
( |
const FeatureName & |
feature, |
|
|
ANALOG_STICK_DIRECTION |
dir |
|
) |
| |
|
static |
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]
std::string CJoystickUtils::MakeKeyName |
( |
const FeatureName & |
feature, |
|
|
WHEEL_DIRECTION |
dir |
|
) |
| |
|
static |
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
◆ MakeKeyName() [4/4]
std::string CJoystickUtils::MakeKeyName |
( |
const FeatureName & |
feature, |
|
|
THROTTLE_DIRECTION |
dir |
|
) |
| |
|
static |
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
The documentation for this class was generated from the following files:
- xbmc/input/joysticks/JoystickUtils.h
- xbmc/input/joysticks/JoystickUtils.cpp