|
FPLBase
An open source project by
FPL.
|
Structure used for storing gamepad events when we get them from jni until we can handle them. More...
#include <input.h>
Structure used for storing gamepad events when we get them from jni until we can handle them.
Public Member Functions | |
| AndroidInputEvent () | |
| AndroidInputEvent default constructor. | |
| AndroidInputEvent (AndroidInputDeviceId device_id_, int event_code_, int control_code_, float x_, float y_) | |
| Constructor for an AndroidInputeEvent. More... | |
Public Attributes | |
| AndroidInputDeviceId | device_id |
| The device ID of the Android device. | |
| int | event_code |
| The event code. | |
| int | control_code |
| The control code. | |
| float | x |
The x coordinate for the event. | |
| float | y |
The y coordinate for the event. | |
|
inline |
Constructor for an AndroidInputeEvent.
| [in] | device_id_ | The device ID of the Android device. |
| [in] | event_code_ | The event code for the gamepad event. |
| [in] | control_code_ | The control code for the gamepad event. |
| [in] | x_ | The x position of the event. |
| [in] | y_ | The y position for the event. |