struct EE::Window::InputEvent::JoyBallEvent

Overview

Joystick trackball motion event structure More…

#include <inputevent.hpp>

struct JoyBallEvent {
    // fields

    Uint8 which;
    Uint8 ball;
    Int16 xrel;
    Int16 yrel;
};

Detailed Documentation

Joystick trackball motion event structure

Fields

Uint8 ball

The joystick device index

Int16 xrel

The joystick trackball index

Int16 yrel

The relative motion in the X direction