|
Wing Commander
Reconstructed Win32 source (1996)
|
Interactive joystick calibration and button waits. More...
Go to the source code of this file.
Functions | |
| void | CalibrateJoystickInteractive () |
| void | WaitForJoystickButtonRelease (void) |
| void | WaitForJoystickButtonPress (void) |
Interactive joystick calibration and button waits.
Address range 4102b0-41073f.
Definition in file joystick.c.
| void CalibrateJoystickInteractive | ( | ) |
Definition at line 13 of file joystick.c.
References TextContext::alignment, apTextFonts, CalibrateJoystickInteractive(), cBlackColour, cViewportClearColour, DIBslamReal(), InitializeTextContextFromFont(), LoadJoystickCalibrationFile(), nCurrentActiveInputDevice, nCurrentJoystickFailureValue, nCurrentJoystickLeftScale, nJoystickCentreX, nJoystickCentreY, nJoystickDownScaleValue, nJoystickHorizontalRangeValue, nJoystickRightScale, nJoystickUpScale, nJoystickVerticalRange, nStickMaxX, nStickMaxY, nStickMinimumPositionX, nStickMinimumPositionY, ReleaseModalTextPanel(), ReleaseTextFont(), SampleJoystickDevice(), ShowModalTextPanel(), stDefaultTxtContext, WaitForJoystickButtonPress(), WaitForJoystickButtonRelease(), InputDeviceSample::x, and InputDeviceSample::y.
Referenced by BarracksScreen(), CalibrateJoystickInteractive(), HandleSpaceFlightControls(), and Title_Sequence().
Definition at line 179 of file joystick.c.
References aInputDevSamples, nCurrentActiveInputDevice, SampleJoystickDevice(), and WaitForJoystickButtonPress().
Referenced by CalibrateJoystickInteractive(), and WaitForJoystickButtonPress().
Definition at line 167 of file joystick.c.
References aInputDevSamples, nCurrentActiveInputDevice, SampleJoystickDevice(), and WaitForJoystickButtonRelease().
Referenced by CalibrateJoystickInteractive(), and WaitForJoystickButtonRelease().