diff options
Diffstat (limited to 'Samples/CommonSrc/Platform/Win32_Gamepad.h')
-rw-r--r-- | Samples/CommonSrc/Platform/Win32_Gamepad.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Samples/CommonSrc/Platform/Win32_Gamepad.h b/Samples/CommonSrc/Platform/Win32_Gamepad.h index 6c80350..fc91413 100644 --- a/Samples/CommonSrc/Platform/Win32_Gamepad.h +++ b/Samples/CommonSrc/Platform/Win32_Gamepad.h @@ -5,7 +5,7 @@ Content : Win32 implementation of Gamepad functionality. Created : May 6, 2013 Authors : Lee Cooper -Copyright : Copyright 2012 Oculus VR, Inc. All Rights reserved. +Copyright : Copyright 2012 Oculus VR, LLC All Rights reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -49,7 +49,8 @@ private: typedef DWORD (WINAPI *PFn_XInputGetState)(DWORD dwUserIndex, XINPUT_STATE* pState); PFn_XInputGetState pXInputGetState; - uint32_t LastPadPacketNo; + uint32_t LastPadPacketNo; // Used to prevent reading the same packet twice. + uint32_t NextTryTime; // If no device was found then we don't try to access it again until some later time. }; }}} |