Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches

Feature primitives
Indices used to access a feature's driver primitives. More...

Typedefs

typedef enum JOYSTICK_FEATURE_PRIMITIVE JOYSTICK_FEATURE_PRIMITIVE
 

Enumerations

enum  JOYSTICK_FEATURE_PRIMITIVE {
  JOYSTICK_SCALAR_PRIMITIVE = 0 , JOYSTICK_ANALOG_STICK_UP = 0 , JOYSTICK_ANALOG_STICK_DOWN = 1 , JOYSTICK_ANALOG_STICK_RIGHT = 2 ,
  JOYSTICK_ANALOG_STICK_LEFT = 3 , JOYSTICK_ACCELEROMETER_POSITIVE_X = 0 , JOYSTICK_ACCELEROMETER_POSITIVE_Y = 1 , JOYSTICK_ACCELEROMETER_POSITIVE_Z = 2 ,
  JOYSTICK_MOTOR_PRIMITIVE = 0 , JOYSTICK_WHEEL_LEFT = 0 , JOYSTICK_WHEEL_RIGHT = 1 , JOYSTICK_THROTTLE_UP = 0 ,
  JOYSTICK_THROTTLE_DOWN = 1 , JOYSTICK_KEY_PRIMITIVE = 0 , JOYSTICK_MOUSE_BUTTON = 0 , JOYSTICK_RELPOINTER_UP = 0 ,
  JOYSTICK_RELPOINTER_DOWN = 1 , JOYSTICK_RELPOINTER_RIGHT = 2 , JOYSTICK_RELPOINTER_LEFT = 3 , JOYSTICK_PRIMITIVE_MAX = 4
}
 

Detailed Description

Feature primitives
Indices used to access a feature's driver primitives.

Typedef Documentation

◆ JOYSTICK_FEATURE_PRIMITIVE

Enumeration Type Documentation

◆ JOYSTICK_FEATURE_PRIMITIVE

Enumerator
JOYSTICK_SCALAR_PRIMITIVE 

Scalar feature (a button, hat direction or semiaxis)

JOYSTICK_ANALOG_STICK_UP 

Analog stick up.

JOYSTICK_ANALOG_STICK_DOWN 

Analog stick down.

JOYSTICK_ANALOG_STICK_RIGHT 

Analog stick right.

JOYSTICK_ANALOG_STICK_LEFT 

Analog stick left.

JOYSTICK_ACCELEROMETER_POSITIVE_X 

Accelerometer X.

JOYSTICK_ACCELEROMETER_POSITIVE_Y 

Accelerometer Y.

JOYSTICK_ACCELEROMETER_POSITIVE_Z 

Accelerometer Z.

JOYSTICK_MOTOR_PRIMITIVE 

Motor.

JOYSTICK_WHEEL_LEFT 

Wheel left.

JOYSTICK_WHEEL_RIGHT 

Wheel right.

JOYSTICK_THROTTLE_UP 

Throttle up.

JOYSTICK_THROTTLE_DOWN 

Throttle down.

JOYSTICK_KEY_PRIMITIVE 

Key.

JOYSTICK_MOUSE_BUTTON 

Mouse button.

JOYSTICK_RELPOINTER_UP 

Relative pointer direction up.

JOYSTICK_RELPOINTER_DOWN 

Relative pointer direction down.

JOYSTICK_RELPOINTER_RIGHT 

Relative pointer direction right.

JOYSTICK_RELPOINTER_LEFT 

Relative pointer direction left.

JOYSTICK_PRIMITIVE_MAX 

Maximum number of primitives.