MAX_DEVICE_BUTTONS -> NUM_DeviceButton

This commit is contained in:
Glenn Maynard
2005-12-28 19:15:48 +00:00
parent 445df4ea85
commit 29422da7d3
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -76,7 +76,7 @@ private:
// The time that we actually reported the last event (used for debouncing).
RageTimer m_LastReportTime;
};
ButtonState m_ButtonState[NUM_INPUT_DEVICES][MAX_DEVICE_BUTTONS];
ButtonState m_ButtonState[NUM_INPUT_DEVICES][NUM_DeviceButton];
void CheckButtonChange( ButtonState &bs, DeviceInput di, const RageTimer &now );
InputEventArray queue;
+1 -1
View File
@@ -82,7 +82,7 @@ protected:
// lookup for efficiency from a DeviceInput to a GameInput
// This is repopulated every time m_PItoDI changes by calling UpdateTempDItoPI().
GameInput m_tempDItoGI[NUM_INPUT_DEVICES][MAX_DEVICE_BUTTONS];
GameInput m_tempDItoGI[NUM_INPUT_DEVICES][NUM_DeviceButton];
void UpdateTempDItoGI();
};