vector2 GetJoystickXY(uint joystickId)/ETHInput

Returns the joystick X and Y axis.

ETHInput@ input = GetInputHandle();

// move entity according to player 1 analog directions
entity.AddToPositionXY(input.GetJoystickXY(0));