Documentation Topics
Function

PRVirconJoySetAxisRestrict()

Sets the given joystick's axis restriction.


Declaration

PRVirconJoySetAxisRestrict(joyId, axisRestrict)

Parameters

joyId

The joystick ID.

axisRestrict

Set to PRVirconAxisVert to allow the joystick to only move vertically and PRVirconAxisHorz for horizontal joystick movement only. Set to noone to lift the restriction.

Return Value

n/a