InputDevice_Invalid

This commit is contained in:
Glenn Maynard
2006-09-26 21:19:17 +00:00
parent 662606b1c8
commit dfd95fd730
2 changed files with 2 additions and 2 deletions
@@ -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;