class EE::Window::InputEvent

Overview

#include <inputevent.hpp>

class InputEvent {
public:
    // typedefs

    typedef struct SysWMmsg SysWMmsg;

    // enums

    enum EventType;
    enum WindowEventType;

    // structs

    struct ExposeEvent;
    struct FileDroppedEvent;
    struct FingerEvent;
    struct JoyAxisEvent;
    struct JoyBallEvent;
    struct JoyButtonEvent;
    struct JoyHatEvent;
    struct KeySym;
    struct KeyboardEvent;
    struct MouseButtonEvent;
    struct MouseMotionEvent;
    struct QuitEvent;
    struct ResizeEvent;
    struct SysWMEvent;
    struct TextDroppedEvent;
    struct TextEditingEvent;
    struct TextInputEvent;
    struct UserEvent;
    struct WheelEvent;
    struct WindowEvent;

    // fields

    Uint32 Type;
    Uint32 WinID { 0 };
    WindowEvent window;
    KeyboardEvent key;
    TextInputEvent text;
    MouseMotionEvent motion;
    MouseButtonEvent button;
    FingerEvent finger;
    JoyAxisEvent jaxis;
    JoyBallEvent jball;
    JoyHatEvent jhat;
    JoyButtonEvent jbutton;
    ResizeEvent resize;
    ExposeEvent expose;
    FileDroppedEvent file;
    TextDroppedEvent textdrop;
    TextEditingEvent textediting;
    QuitEvent quit;
    UserEvent user;
    WheelEvent wheel;
    SysWMEvent syswm;

    // construction

    InputEvent();
    InputEvent(Uint32 type);
};

Detailed Documentation

Fields

Uint32 Type

Event Type

Uint32 WinID { 0 }

Window ID