struct EE::Window::InputEvent::MouseMotionEvent

Overview

Mouse motion event structure More…

#include <inputevent.hpp>

struct MouseMotionEvent {
    // fields

    Uint8 which;
    Uint8 state;
    Int16 x;
    Int16 y;
    Int16 xrel;
    Int16 yrel;
};

Detailed Documentation

Mouse motion event structure

Fields

Uint8 state

The mouse device index

Int16 x

The current button state

Int16 xrel

The X/Y coordinates of the mouse

Int16 yrel

The relative motion in the X direction