Record TSDL_VirtualJoystickDesc

Hierarchy
Methods
Properties

Unit

Declaration

type TSDL_VirtualJoystickDesc = record

Description

 

Overview

Fields

Public version: cuint16;
Public type_: cuint16;
Public naxes: cuint16;
Public nbuttons: cuint16;
Public nhats: cuint16;
Public vendor_id: cuint16;
Public product_id: cuint16;
Public padding: cuint16;
Public button_mask: cuint16;
Public axis_mask: cuint32;
Public name: PAnsiChar;
Public userdata: Pointer;
Public Update: TUpdateProc;
Public SetPlayerIndex: TSetPlayerIndexProc;
Public Rumble: TRumbleFunc;
Public RumbleTriggers: TRumbleTriggersFunc;
Public SetLED: TSetLEDFunc;
Public SendEffect: TSendEffectFunc;

Description

Fields

Public version: cuint16;
 
Public type_: cuint16;

< `SDL_VIRTUAL_JOYSTICK_DESC_VERSION` *

Public naxes: cuint16;

< `SDL_JoystickType`

Public nbuttons: cuint16;

< the number of axes on this joystick *

Public nhats: cuint16;

< the number of buttons on this joystick *

Public vendor_id: cuint16;

< the number of hats on this joystick *

Public product_id: cuint16;

< the USB vendor ID of this joystick *

Public padding: cuint16;

< the USB product ID of this joystick *

Public button_mask: cuint16;

< unused *

Public axis_mask: cuint32;

< A mask of which buttons are valid for this controller e.g. (1 << SDL_CONTROLLER_BUTTON_A) *

Public name: PAnsiChar;

< A mask of which axes are valid for this controller e.g. (1 << SDL_CONTROLLER_AXIS_LEFTX) *

Public userdata: Pointer;

< the name of the joystick *

Public Update: TUpdateProc;

< User data pointer passed to callbacks *

Public SetPlayerIndex: TSetPlayerIndexProc;

< Called when the joystick state should be updated *

Public Rumble: TRumbleFunc;

< Called when the player index is set *

Public RumbleTriggers: TRumbleTriggersFunc;

< Implements SDL_JoystickRumble() *

Public SetLED: TSetLEDFunc;

< Implements SDL_JoystickRumbleTriggers() *

Public SendEffect: TSendEffectFunc;

< Implements SDL_JoystickSetLED() *


Generated by PasDoc 0.16.0.