InputDevice_Invalid
This commit is contained in:
@@ -117,7 +117,7 @@ static LocalizedString BACKSLASH ( "DeviceButton", "Backslash" );
|
||||
|
||||
RString InputHandler::GetDeviceSpecificInputString( const DeviceInput &di )
|
||||
{
|
||||
if( di.device == DEVICE_NONE )
|
||||
if( di.device == InputDevice_Invalid )
|
||||
return RString();
|
||||
|
||||
if( di.device == DEVICE_KEYBOARD )
|
||||
|
||||
@@ -20,7 +20,7 @@ static BOOL CALLBACK DIJoystick_EnumDevObjectsProc(LPCDIDEVICEOBJECTINSTANCE dev
|
||||
DIDevice::DIDevice()
|
||||
{
|
||||
buttons = axes = hats = 0;
|
||||
dev = DEVICE_NONE;
|
||||
dev = InputDevice_Invalid;
|
||||
buffered = true;
|
||||
memset(&JoystickInst, 0, sizeof(JoystickInst));
|
||||
Device = NULL;
|
||||
|
||||
Reference in New Issue
Block a user