|
Re: Variable Typing
it works because the
x_joy_1 = p1_x;
y_joy_1 = p1_y;
makes thevariables equal to the joystick values. the second part just subtracts 127 from them. the point is that the variable took the values them manipulated them.....i hope that answered your question.
|