GamepadChip

GamepadChip

Properties

GamepadIndex number

IsActive booleanread only

Methods

GetButton( name InputName ) InputSource

GetAxis( name InputName ) InputSource

GetButtonAxis( negativeName InputName, positiveName InputName ) InputSource

Events

GamepadChipIsActiveEvent : { IsActive boolean, Type string }

GamepadChipButtonEvent : { ButtonDown boolean, ButtonUp boolean, IsAxis boolean, InputName InputName, Type string }

Input names

GamepadChip.LeftStickX

GamepadChip.LeftStickY

GamepadChip.RightStickX

GamepadChip.RightStickY

GamepadChip.ActionBottomRow1

GamepadChip.ActionBottomRow2

GamepadChip.ActionBottomRow3

GamepadChip.ActionTopRow1

GamepadChip.ActionTopRow2

GamepadChip.ActionTopRow3

GamepadChip.LeftShoulder1

GamepadChip.LeftShoulder2

GamepadChip.RightShoulder1

GamepadChip.RightShoulder2

GamepadChip.Center1

GamepadChip.Center2

GamepadChip.Center3

GamepadChip.LeftStickButton

GamepadChip.RightStickButton

GamepadChip.DPadUp

GamepadChip.DPadRight

GamepadChip.DPadDown

GamepadChip.DPadLeft