remove RageInput::DeviceButtonToChar
This commit is contained in:
@@ -114,23 +114,6 @@ wchar_t RageInput::DeviceInputToChar( DeviceInput di, bool bUseCurrentKeyModifie
|
|||||||
return '\0';
|
return '\0';
|
||||||
}
|
}
|
||||||
|
|
||||||
wchar_t RageInput::DeviceButtonToChar( DeviceButton button, bool bUseCurrentKeyModifiers )
|
|
||||||
{
|
|
||||||
FOREACH( InputHandler*, m_pDevices, i )
|
|
||||||
{
|
|
||||||
vector<InputDeviceInfo> vDevices;
|
|
||||||
(*i)->GetDevicesAndDescriptions( vDevices );
|
|
||||||
|
|
||||||
FOREACH_CONST( InputDeviceInfo, vDevices, idi )
|
|
||||||
{
|
|
||||||
if( idi->id == DEVICE_KEYBOARD )
|
|
||||||
return (*i)->DeviceButtonToChar(button, bUseCurrentKeyModifiers);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
return '\0';
|
|
||||||
}
|
|
||||||
|
|
||||||
InputDeviceState RageInput::GetInputDeviceState( InputDevice id )
|
InputDeviceState RageInput::GetInputDeviceState( InputDevice id )
|
||||||
{
|
{
|
||||||
FOREACH( InputHandler*, m_pDevices, i )
|
FOREACH( InputHandler*, m_pDevices, i )
|
||||||
|
|||||||
@@ -22,7 +22,6 @@ public:
|
|||||||
void AddHandler( InputHandler *pHandler );
|
void AddHandler( InputHandler *pHandler );
|
||||||
RString GetDeviceSpecificInputString( const DeviceInput &di );
|
RString GetDeviceSpecificInputString( const DeviceInput &di );
|
||||||
wchar_t DeviceInputToChar( DeviceInput di, bool bUseCurrentKeyModifiers );
|
wchar_t DeviceInputToChar( DeviceInput di, bool bUseCurrentKeyModifiers );
|
||||||
wchar_t DeviceButtonToChar( DeviceButton button, bool bUseCurrentKeyModifiers );
|
|
||||||
InputDeviceState GetInputDeviceState( InputDevice id );
|
InputDeviceState GetInputDeviceState( InputDevice id );
|
||||||
RString GetDisplayDevicesString() const;
|
RString GetDisplayDevicesString() const;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user