const
This commit is contained in:
@@ -332,7 +332,7 @@ void InputFilter::GetInputEvents( vector<InputEvent> &array )
|
|||||||
array.swap( queue );
|
array.swap( queue );
|
||||||
}
|
}
|
||||||
|
|
||||||
void InputFilter::GetPressedButtons( vector<DeviceInput> &array )
|
void InputFilter::GetPressedButtons( vector<DeviceInput> &array ) const
|
||||||
{
|
{
|
||||||
LockMut(*queuemutex);
|
LockMut(*queuemutex);
|
||||||
array = g_CurrentState;
|
array = g_CurrentState;
|
||||||
|
|||||||
@@ -54,7 +54,7 @@ public:
|
|||||||
RString GetButtonComment( const DeviceInput &di ) const;
|
RString GetButtonComment( const DeviceInput &di ) const;
|
||||||
|
|
||||||
void GetInputEvents( vector<InputEvent> &aEventOut );
|
void GetInputEvents( vector<InputEvent> &aEventOut );
|
||||||
void GetPressedButtons( vector<DeviceInput> &array );
|
void GetPressedButtons( vector<DeviceInput> &array ) const;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
void CheckButtonChange( ButtonState &bs, DeviceInput di, const RageTimer &now );
|
void CheckButtonChange( ButtonState &bs, DeviceInput di, const RageTimer &now );
|
||||||
|
|||||||
Reference in New Issue
Block a user