Record TSDL_VirtualJoystickDesc
Unit
Declaration
type TSDL_VirtualJoystickDesc = record
Description
Overview
Fields
![]() |
version: cuint16; |
![]() |
type_: cuint16; |
![]() |
naxes: cuint16; |
![]() |
nbuttons: cuint16; |
![]() |
nhats: cuint16; |
![]() |
vendor_id: cuint16; |
![]() |
product_id: cuint16; |
![]() |
padding: cuint16; |
![]() |
button_mask: cuint16; |
![]() |
axis_mask: cuint32; |
![]() |
name: PAnsiChar; |
![]() |
userdata: Pointer; |
![]() |
Update: TUpdateProc; |
![]() |
SetPlayerIndex: TSetPlayerIndexProc; |
![]() |
Rumble: TRumbleFunc; |
![]() |
RumbleTriggers: TRumbleTriggersFunc; |
![]() |
SetLED: TSetLEDFunc; |
![]() |
SendEffect: TSendEffectFunc; |
Description
Fields
![]() |
version: cuint16; |
![]() |
type_: cuint16; |
< `SDL_VIRTUAL_JOYSTICK_DESC_VERSION` * |
![]() |
naxes: cuint16; |
< `SDL_JoystickType` |
![]() |
nbuttons: cuint16; |
< the number of axes on this joystick * |
![]() |
nhats: cuint16; |
< the number of buttons on this joystick * |
![]() |
vendor_id: cuint16; |
< the number of hats on this joystick * |
![]() |
product_id: cuint16; |
< the USB vendor ID of this joystick * |
![]() |
padding: cuint16; |
< the USB product ID of this joystick * |
![]() |
button_mask: cuint16; |
< unused * |
![]() |
axis_mask: cuint32; |
< A mask of which buttons are valid for this controller e.g. (1 << SDL_CONTROLLER_BUTTON_A) * |
![]() |
name: PAnsiChar; |
< A mask of which axes are valid for this controller e.g. (1 << SDL_CONTROLLER_AXIS_LEFTX) * |
![]() |
userdata: Pointer; |
< the name of the joystick * |
![]() |
Update: TUpdateProc; |
< User data pointer passed to callbacks * |
![]() |
SetPlayerIndex: TSetPlayerIndexProc; |
< Called when the joystick state should be updated * |
![]() |
Rumble: TRumbleFunc; |
< Called when the player index is set * |
![]() |
RumbleTriggers: TRumbleTriggersFunc; |
< Implements SDL_JoystickRumble() * |
![]() |
SetLED: TSetLEDFunc; |
< Implements SDL_JoystickRumbleTriggers() * |
![]() |
SendEffect: TSendEffectFunc; |
< Implements SDL_JoystickSetLED() * |
Generated by PasDoc 0.16.0.