SDL3 module

SDL_VirtualJoystickDesc

structforeignextensionSource

Fields

version: Uint32
type: Uint16
padding: Uint16
vendor_id: Uint16
product_id: Uint16
naxes: Uint16
nbuttons: Uint16
nballs: Uint16
nhats: Uint16
ntouchpads: Uint16
nsensors: Uint16
padding2: [2] Uint16
button_mask: Uint32
axis_mask: Uint32
name: *u8
userdata: *void
Update: (userdata: *void) -> void #c_call
SetPlayerIndex: (userdata: *void, player_index: s32) -> void #c_call
Rumble: (userdata: *void, low_frequency_rumble: Uint16, high_frequency_rumble: Uint16) -> bool #c_call
RumbleTriggers: (userdata: *void, left_rumble: Uint16, right_rumble: Uint16) -> bool #c_call
SetLED: (userdata: *void, red: Uint8, green: Uint8, blue: Uint8) -> bool #c_call
SendEffect: (userdata: *void, data: *void, size: s32) -> bool #c_call
SetSensorsEnabled: (userdata: *void, enabled: bool) -> bool #c_call
Cleanup: (userdata: *void) -> void #c_call

See also