|
Wing Commander II
Reconstructed Win32 source (1996)
|
Menu input devices and joystick button events. More...
#include "game.h"Go to the source code of this file.
Functions | |
| short | UpdateInputDeviceTransitions (short raw) |
| void | JoystickInputHook (void) |
| void | PollJoystickButtonEvents (void) |
| void | PollMenuInputDevices (void) |
Variables | |
| short | g_nInputDoubleClickInterval = 1 |
| short | g_nMenuPointerSpeed = 2 |
| int | g_9_anInputButton2PushTime [2] |
| short | g_asControlsButton1DoubleClickTable [2] |
| short | g_3_asControlsButton1ChangedValues [2] |
| short | g_9_asInputButton2ChangedList [2] |
| short | g_2_asPreviousInputButtonsList [2] |
| int | g_anControlsButton1PressTime [2] |
| short | g_7_asInputButton2DoubleClickValues [2] |
| signed char | g_3_bInputPollingGuard |
Menu input devices and joystick button events.
Definition in file input.c.
Definition at line 69 of file input.c.
References JoystickInputHook().
Referenced by JoystickInputHook(), and UpdateShipTurretGuns().
Definition at line 74 of file input.c.
References g_3_asControlsButton1ChangedValues, g_3_bInputPollingGuard, g_6_stPersonnelMouseData, g_7_asInputButton2DoubleClickValues, g_8_nActiveInputDeviceWord, g_9_asInputButton2ChangedList, g_aInputDeviceSamplesList, g_asControlsButton1DoubleClickTable, PollJoystickButtonEvents(), PersonnelMouseSample::primaryButton, QueueInputEventAtCursor(), PersonnelMouseSample::secondaryButton, and UpdateInputDeviceTransitions().
Referenced by AcknowledgeModalMessage(), InflightComputer(), LoadOriginFxDrivers(), PollJoystickButtonEvents(), UpdateShipTurretGuns(), and WaitForInputKey().
Definition at line 115 of file input.c.
References DisableMouseCursorDrawing(), EnableMouseCursorDrawing(), PersonnelMouseSample::flags, QueuedMouseState::flags, FlushInputEvents(), g_16_stEventQueuePointerData, g_3_asControlsButton1ChangedValues, g_3_bInputPollingGuard, g_6_stPersonnelMouseData, g_8_nActiveInputDeviceWord, g_9_asInputButton2ChangedList, g_aInputDeviceSamplesList, g_asControlsButton1DoubleClickTable, g_bSceneDisplayUpdateActive, g_nMenuPointerSpeed, PollMenuInputDevices(), PersonnelMouseSample::primaryButton, QueuedMouseState::primaryButton, QueueInputEventAtCursor(), PersonnelMouseSample::secondaryButton, QueuedMouseState::secondaryButton, SetMousePosition(), UpdateInputDeviceTransitions(), InputDeviceSample::x, PersonnelMouseSample::x, QueuedMouseState::x, InputDeviceSample::y, PersonnelMouseSample::y, and QueuedMouseState::y.
Referenced by PollMenuInputDevices(), SetMenuInputPump(), and UpdateShipTurretGuns().
| short UpdateInputDeviceTransitions | ( | short | raw | ) |
Definition at line 12 of file input.c.
References g_196_nInputTimerTicks, g_2_asPreviousInputButtonsList, g_3_asControlsButton1ChangedValues, g_3_nEventClockScaleValue, g_7_asInputButton2DoubleClickValues, g_8_nActiveInputDeviceWord, g_9_anInputButton2PushTime, g_9_asInputButton2ChangedList, g_aInputDeviceSamplesList, g_anControlsButton1PressTime, g_asControlsButton1DoubleClickTable, g_nInputDoubleClickInterval, ReadCalibratedJoystick(), SampleJoystickDevice(), and UpdateInputDeviceTransitions().
Referenced by PollJoystickButtonEvents(), PollMenuInputDevices(), UpdateInputDeviceTransitions(), and UpdateShipTurretGuns().
| short g_2_asPreviousInputButtonsList[2] |
Definition at line 242 of file input.c.
Referenced by UpdateInputDeviceTransitions().
| short g_3_asControlsButton1ChangedValues[2] |
Definition at line 240 of file input.c.
Referenced by PollJoystickButtonEvents(), PollMenuInputDevices(), and UpdateInputDeviceTransitions().
| signed char g_3_bInputPollingGuard |
Definition at line 245 of file input.c.
Referenced by PollJoystickButtonEvents(), and PollMenuInputDevices().
| short g_7_asInputButton2DoubleClickValues[2] |
Definition at line 244 of file input.c.
Referenced by PollJoystickButtonEvents(), and UpdateInputDeviceTransitions().
| int g_9_anInputButton2PushTime[2] |
Definition at line 238 of file input.c.
Referenced by UpdateInputDeviceTransitions().
| short g_9_asInputButton2ChangedList[2] |
Definition at line 241 of file input.c.
Referenced by PollJoystickButtonEvents(), PollMenuInputDevices(), and UpdateInputDeviceTransitions().
| int g_anControlsButton1PressTime[2] |
Definition at line 243 of file input.c.
Referenced by UpdateInputDeviceTransitions().
| short g_asControlsButton1DoubleClickTable[2] |
Definition at line 239 of file input.c.
Referenced by PollJoystickButtonEvents(), PollMenuInputDevices(), and UpdateInputDeviceTransitions().
| short g_nInputDoubleClickInterval = 1 |
Definition at line 8 of file input.c.
Referenced by LoadOriginFxDrivers(), and UpdateInputDeviceTransitions().
| short g_nMenuPointerSpeed = 2 |
Definition at line 9 of file input.c.
Referenced by PollMenuInputDevices().