xbmc
|
#include "input/InputTypes.h"
#include <set>
#include <string>
Go to the source code of this file.
Classes | |
struct | KODI::JOYSTICK::KeymapAction |
Action entry in joystick.xml. More... | |
struct | KODI::JOYSTICK::KeymapActionGroup |
Container that sorts action entries by their holdtime. More... | |
Namespaces | |
KODI | |
Controller configuration window. | |
Typedefs | |
using | KODI::JOYSTICK::FeatureName = std::string |
Name of a physical feature belonging to the joystick. | |
using | KODI::JOYSTICK::HAT_DIRECTION = INPUT::CARDINAL_DIRECTION |
Direction arrows on the hat (directional pad) | |
using | KODI::JOYSTICK::HAT_STATE = INPUT::INTERCARDINAL_DIRECTION |
States in which a hat can be. | |
using | KODI::JOYSTICK::ANALOG_STICK_DIRECTION = INPUT::CARDINAL_DIRECTION |
Typedef for analog stick directions. | |
using | KODI::JOYSTICK::RELATIVE_POINTER_DIRECTION = INPUT::CARDINAL_DIRECTION |
Directions of motion for a relative pointer. | |
Enumerations | |
enum | KODI::JOYSTICK::FEATURE_TYPE { UNKNOWN, SCALAR, ANALOG_STICK, ACCELEROMETER, MOTOR, RELPOINTER, ABSPOINTER, WHEEL, THROTTLE, KEY } |
Types of features used in the joystick library. More... | |
enum | KODI::JOYSTICK::FEATURE_CATEGORY { UNKNOWN, FACE, SHOULDER, TRIGGER, ANALOG_STICK, ACCELEROMETER, HAPTICS, MOUSE_BUTTON, POINTER, LIGHTGUN, OFFSCREEN, KEY, KEYPAD, HARDWARE, WHEEL, JOYSTICK, PADDLE } |
Categories of features used in the joystick library. | |
enum | KODI::JOYSTICK::SEMIAXIS_DIRECTION { NEGATIVE = -1, ZERO = 0, POSITIVE = 1 } |
Directions in which a semiaxis can point. | |
enum | KODI::JOYSTICK::WHEEL_DIRECTION { NONE, RIGHT, LEFT } |
Directions on a wheel. | |
enum | KODI::JOYSTICK::THROTTLE_DIRECTION { NONE, UP, DOWN } |
Directions on a throttle. | |
enum | KODI::JOYSTICK::INPUT_TYPE { UNKNOWN, DIGITAL, ANALOG } |
Types of input available for scalar features. | |
enum | KODI::JOYSTICK::PRIMITIVE_TYPE { UNKNOWN = 0, BUTTON, HAT, SEMIAXIS, MOTOR, KEY, MOUSE_BUTTON, RELATIVE_POINTER } |
Type of driver primitive. | |
|
strong |
Types of features used in the joystick library.
Available types:
1) scalar[*] 2) analog stick 3) accelerometer 4) rumble motor 5) relative pointer 6) absolute pointer 7) wheel 8) throttle 9) keyboard key
[*] All three driver primitives (buttons, hats and axes) have a state that can be represented using a single scalar value. For this reason, features that map to a single primitive are called "scalar features".