SETJOYSTICKRANGE |
Top Previous Next |
Syntax SETJOYSTICKRANGE(Axis as INT,Min as INT,Max as INT,OPT device as INT) Description Sets the minimum and maximum values an axis will report. Parameters Axis - The axis to set. Min - Minimum range Max - Maximum range device - Optional device number. Default is 0 or the first joystick attached to the system Return value None Remarks Default range is from -1000 to +1000. Values are integer and Min must be less than Max. Axis is one of the constants @XAXIS,@YAXIS or @ZAXIS. A joystick axis normally reports 0 at its midpoint. See Also: SETJOYSTICKDEADZONE Example usage SETJOYSTICKRANGE @YAXIS, -200, 200 |