SetJoystickScreenPosition

Description

The AGK joystick is an emulated input method that uses whatever device inputs are available to produce a joystick style input in the range -1 to 1. This command positions a virtual joystick on screen only if it is necessary to emulate this input. For example if a real joystick or keyboard are available then this command has no noticeable effect. It is recommended that you always call this command anyway if you intend to use GetJoystickX or GetJoystickY just incase a virtual joystick is needed. Any virtual joystick will be centered on the given X and Y position.

Definition

SetJoystickScreenPosition( x, y, size )

Parameters