public class Joystick
{
    public static final int NEUTRAL_POSITION = 0;
    public static final int TILTED_LEFT = -1;
    public static final int TILTED_RIGHT = 1;

    private Joystick ()
    {
        // stop instantiation.
    }
}
Update Joystick.java