/**
 * 
 */
package org.usfirst.frc.team2339.Barracuda.components;

import org.usfirst.frc.team2339.Barracuda.OI;

import edu.wpi.first.wpilibj.Joystick;

/**
 * @author emiller
 *
 */
public class SwerveJoystick extends Joystick {

	/**
	 * @param port
	 */
	public SwerveJoystick(int port) {
		super(port);
	}

	/**
	 * @param port
	 * @param numAxisTypes
	 * @param numButtonTypes
	 */
	public SwerveJoystick(int port, int numAxisTypes, int numButtonTypes) {
		super(port, numAxisTypes, numButtonTypes);
	}
	
	public double getStrafe() {
		return getRawAxis(1);
	}

	public double getFrontBack() {
		return -getRawAxis(0);
	}

	public double getRotate() {
		return getRawAxis(3);
	}

	public boolean isInDeadband() {
		return  Math.abs(getStrafe()) < OI.DRIVE_STICK_DEAD_BAND && 
    			Math.abs(getFrontBack()) < OI.DRIVE_STICK_DEAD_BAND && 
    			Math.abs(getRotate()) < OI.DRIVE_STICK_DEAD_BAND;
	}
    			
	public boolean getSpeedShift() {
		return getRawButton(OI.DRIVE_BUTTON_SPEED_SHIFT);
	}

	public boolean getGyro() {
		return getRawButton(OI.DRIVE_BUTTON_ABSOLUTE_GYRO_MODE);
	}

}

@@ -653,32 +653,33 @@
 te() %7B%0A%09%09return 
+-
 getRawAxis(3);%0A%09

Change rotation sign.