struct EE::Window::InputEvent::JoyButtonEvent

Overview

Joystick button event structure More…

#include <inputevent.hpp>

struct JoyButtonEvent {
    // fields

    Uint8 which;
    Uint8 button;
    Uint8 state;
};

Detailed Documentation

Joystick button event structure

Fields

Uint8 button

The joystick device index

Uint8 state

The joystick button index