|
muteki
|
Multipress/multitouch event. More...
#include <common.h>
Data Fields | ||
| unsigned int | type | |
| Type of event. | ||
| unsigned short | finger_id | |
| Finger ID of a touch event. | ||
| union { | ||
| struct { | ||
| unsigned short key_code0 | ||
| Keycode for the first pressed key. | ||
| unsigned short key_code1 | ||
| Keycode for the second pressed key (maybe unused). | ||
| } | ||
| struct { | ||
| unsigned short touch_x | ||
| The X coordinate of where the touch event is located, in pixels. More... | ||
| unsigned short touch_y | ||
| The Y coordinate of where the touch event is located, in pixels. More... | ||
| } | ||
| }; | ||
| unsigned short | unk_0xb | |
| Unknown. Maybe unused and probably padding. | ||
Multipress/multitouch event.
This is a simplified version of the main UI event struct, that only contains the necessary fields to represent a multitouch or a key-press event. Used on Prime G1.
| unsigned short ui_multipress_event_s::touch_x |
The X coordinate of where the touch event is located, in pixels.
Only available when type is UI_EVENT_TYPE_TOUCH_BEGIN, UI_EVENT_TYPE_TOUCH_MOVE, or UI_EVENT_TYPE_TOUCH_END.
| unsigned short ui_multipress_event_s::touch_y |
The Y coordinate of where the touch event is located, in pixels.
Only available when type is UI_EVENT_TYPE_TOUCH_BEGIN, UI_EVENT_TYPE_TOUCH_MOVE, or UI_EVENT_TYPE_TOUCH_END.
| unsigned int ui_multipress_event_s::type |
Type of event.