Class SDL_VirtualJoystickDesc

All Implemented Interfaces:
AutoCloseable, NativeResource, Pointer

public class SDL_VirtualJoystickDesc extends Struct<SDL_VirtualJoystickDesc> implements NativeResource
struct SDL_VirtualJoystickDesc {
    Uint32 version;
    Uint16 type;
    Uint16 padding;
    Uint16 vendor_id;
    Uint16 product_id;
    Uint16 naxes;
    Uint16 nbuttons;
    Uint16 nballs;
    Uint16 nhats;
    Uint16 ntouchpads;
    Uint16 nsensors;
    Uint16 padding2[2];
    Uint32 button_mask;
    Uint32 axis_mask;
    char const * name;
    SDL_VirtualJoystickTouchpadDesc const * touchpads;
    SDL_VirtualJoystickSensorDesc const * sensors;
    void * userdata;
    void (* Update) (void * userdata);
    void (* SetPlayerIndex) (void * userdata, int player_index);
    bool (* Rumble) (void * userdata, Uint16 low_frequency_rumble, Uint16 high_frequency_rumble);
    bool (* RumbleTriggers) (void * userdata, Uint16 left_rumble, Uint16 right_rumble);
    bool (* SetLED) (void * userdata, Uint8 red, Uint8 green, Uint8 blue);
    bool (* SendEffect) (void * userdata, void const * data, int size);
    bool (* SetSensorsEnabled) (void * userdata, bool enabled);
    void (* Cleanup) (void * userdata);
}