Wing Commander II
Reconstructed Win32 source (1996)
Loading...
Searching...
No Matches
input.c File Reference

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

Detailed Description

Menu input devices and joystick button events.

Definition in file input.c.

Function Documentation

◆ JoystickInputHook()

void JoystickInputHook ( void )

Definition at line 69 of file input.c.

References JoystickInputHook().

Referenced by JoystickInputHook(), and UpdateShipTurretGuns().

◆ PollJoystickButtonEvents()

◆ PollMenuInputDevices()

◆ UpdateInputDeviceTransitions()

Variable Documentation

◆ g_2_asPreviousInputButtonsList

short g_2_asPreviousInputButtonsList[2]

Definition at line 242 of file input.c.

Referenced by UpdateInputDeviceTransitions().

◆ g_3_asControlsButton1ChangedValues

short g_3_asControlsButton1ChangedValues[2]

◆ g_3_bInputPollingGuard

signed char g_3_bInputPollingGuard

Definition at line 245 of file input.c.

Referenced by PollJoystickButtonEvents(), and PollMenuInputDevices().

◆ g_7_asInputButton2DoubleClickValues

short g_7_asInputButton2DoubleClickValues[2]

Definition at line 244 of file input.c.

Referenced by PollJoystickButtonEvents(), and UpdateInputDeviceTransitions().

◆ g_9_anInputButton2PushTime

int g_9_anInputButton2PushTime[2]

Definition at line 238 of file input.c.

Referenced by UpdateInputDeviceTransitions().

◆ g_9_asInputButton2ChangedList

short g_9_asInputButton2ChangedList[2]

◆ g_anControlsButton1PressTime

int g_anControlsButton1PressTime[2]

Definition at line 243 of file input.c.

Referenced by UpdateInputDeviceTransitions().

◆ g_asControlsButton1DoubleClickTable

short g_asControlsButton1DoubleClickTable[2]

◆ g_nInputDoubleClickInterval

short g_nInputDoubleClickInterval = 1

Definition at line 8 of file input.c.

Referenced by LoadOriginFxDrivers(), and UpdateInputDeviceTransitions().

◆ g_nMenuPointerSpeed

short g_nMenuPointerSpeed = 2

Definition at line 9 of file input.c.

Referenced by PollMenuInputDevices().