mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
partial
This commit is contained in:
parent
c58814e703
commit
97c34ecd22
8 changed files with 68 additions and 84 deletions
|
@ -88,6 +88,17 @@ enum EEVENT_TYPE
|
|||
|
||||
};
|
||||
|
||||
//! Enumeration for "user" event types.
|
||||
enum UserEventType: s32
|
||||
{
|
||||
//! In-game touch buttons.
|
||||
/** This event is currently only fired by the in-game touch controller.
|
||||
UserData1: The GameKeyType of the button.
|
||||
UserData2: Whether the button is pressed or released.
|
||||
*/
|
||||
USER_EVENT_GAME_KEY = 1
|
||||
};
|
||||
|
||||
//! Enumeration for all mouse input events
|
||||
enum EMOUSE_INPUT_EVENT
|
||||
{
|
||||
|
@ -512,6 +523,9 @@ struct SEvent
|
|||
//! Any kind of user event.
|
||||
struct SUserEvent
|
||||
{
|
||||
//! Event code
|
||||
s32 code;
|
||||
|
||||
//! Some user specified data as int
|
||||
size_t UserData1;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue