GamepadData

GamepadData

Used for storing derived data from gamepads

Constructor

new GamepadData()

Methods

calculateStickDirection(dirVector, x, y)

Parameters:
Name Type Description
dirVector Vector2
x number
y number