Documentation Topics
Function

PRVirconJoySetTravelDistance()

Sets the given joystick's travel distance in pixels. This value determines how far the joystick nub can be dragged by the player when it is moved. It is not affected by the joystick's scale size.


Declaration

PRVirconJoySetTravelDistance(joyId, travelDistance)

Parameters

joyId

The joystick ID.

travelDistance

The travel distance in pixels.

Return Value

n/a