If you want the arm to move full speed in the positive direction when A on your XBOX controller:
Code:
if(A.get()) {
arm.set(1);
}
Note that in frc you send motors a value between -1 and 1, with -1 being full reverse, 0 being stopped, and 1 being full forward.