kodi
|
An input event. More...
#include <game.h>
Public Attributes | |
GAME_INPUT_EVENT_SOURCE | type |
The type of input event. | |
const char * | controller_id |
The ID of the controller that generated the event. | |
GAME_PORT_TYPE | port_type |
The type of port that the controller is connected to. | |
const char * | port_address |
The address of the port that the controller is connected to. | |
const char * | feature_name |
The name of the feature that generated the event. | |
union { | |
struct game_digital_button_event digital_button | |
Digital button event. | |
struct game_analog_button_event analog_button | |
Analog button event. | |
struct game_axis_event axis | |
Axis event. | |
struct game_analog_stick_event analog_stick | |
Analog stick event. | |
struct game_accelerometer_event accelerometer | |
Accelerometer event. | |
struct game_key_event key | |
Key event. | |
struct game_rel_pointer_event rel_pointer | |
Relative pointer event. | |
struct game_abs_pointer_event abs_pointer | |
Absolute pointer event. | |
struct game_motor_event motor | |
Motor vibration event. | |
}; | |
An input event.