struct EE::Window::InputEvent::UserEvent

Overview

A user-defined event type More…

#include <inputevent.hpp>

struct UserEvent {
    // fields

    Uint8 type;
    int code;
    void* data1;
    void* data2;
};

Detailed Documentation

A user-defined event type

Fields

int code

EE_USEREVENT through EE_NUMEVENTS-1

void* data1

User defined event code

void* data2

User defined data pointer