Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages

An analog stick event, such as a joystick's motion. More...

#include <game.h>

Public Attributes

float x
 The position of the stick along the X axis, from -1.0 to 1.0.
 
float y
 The position of the stick along the Y axis, from -1.0 to 1.0.
 

Detailed Description

An analog stick event, such as a joystick's motion.

Todo
Document which coordinate system is used, left-hand or right-hand.

Member Data Documentation

◆ x

float game_analog_stick_event::x

The position of the stick along the X axis, from -1.0 to 1.0.

◆ y

float game_analog_stick_event::y

The position of the stick along the Y axis, from -1.0 to 1.0.


The documentation for this struct was generated from the following file: