MAX_DEVICE_BUTTONS -> NUM_DeviceButton
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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();
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user