diff options
Diffstat (limited to 'Source/Core/InputCommon/ControllerInterface/ForceFeedback')
3 files changed, 3 insertions, 13 deletions
diff --git a/Source/Core/InputCommon/ControllerInterface/ForceFeedback/ForceFeedbackDevice.h b/Source/Core/InputCommon/ControllerInterface/ForceFeedback/ForceFeedbackDevice.h index 3035273fa8..8eea274182 100644 --- a/Source/Core/InputCommon/ControllerInterface/ForceFeedback/ForceFeedbackDevice.h +++ b/Source/Core/InputCommon/ControllerInterface/ForceFeedback/ForceFeedbackDevice.h @@ -2,8 +2,7 @@ // Licensed under GPLv2 // Refer to the license.txt file included. -#ifndef _FORCEFEEDBACKDEVICE_H_ -#define _FORCEFEEDBACKDEVICE_H_ +#pragma once #include "../Device.h" @@ -65,5 +64,3 @@ private: } } - -#endif diff --git a/Source/Core/InputCommon/ControllerInterface/ForceFeedback/OSX/DirectInputAdapter.h b/Source/Core/InputCommon/ControllerInterface/ForceFeedback/OSX/DirectInputAdapter.h index 367af395ef..3ac954c9ad 100644 --- a/Source/Core/InputCommon/ControllerInterface/ForceFeedback/OSX/DirectInputAdapter.h +++ b/Source/Core/InputCommon/ControllerInterface/ForceFeedback/OSX/DirectInputAdapter.h @@ -10,8 +10,7 @@ * for these differences on OS X. */ -#ifndef _DIRECTINPUTADAPTER_H_ -#define _DIRECTINPUTADAPTER_H_ +#pragma once typedef LONG* LPLONG; // Missing type for ForceFeedback.h #include <CoreFoundation/CoreFoundation.h> @@ -217,8 +216,5 @@ public: } }; - } } - -#endif diff --git a/Source/Core/InputCommon/ControllerInterface/ForceFeedback/OSX/DirectInputConstants.h b/Source/Core/InputCommon/ControllerInterface/ForceFeedback/OSX/DirectInputConstants.h index 3fdee28971..b8d47552d1 100644 --- a/Source/Core/InputCommon/ControllerInterface/ForceFeedback/OSX/DirectInputConstants.h +++ b/Source/Core/InputCommon/ControllerInterface/ForceFeedback/OSX/DirectInputConstants.h @@ -2,8 +2,7 @@ // Licensed under GPLv2 // Refer to the license.txt file included. -#ifndef _DIRECTINPUTCONSTANTS_H_ -#define _DIRECTINPUTCONSTANTS_H_ +#pragma once /* * Define all constants from ForceFeedbackConstants.h with DirectInput prefixes. @@ -146,5 +145,3 @@ #define DIGFFS_USERFFSWITCHON FFGFFS_USERFFSWITCHON #define DIGFFS_USERFFSWITCHOFF FFGFFS_USERFFSWITCHOFF #define DIGFFS_DEVICELOST FFGFFS_DEVICELOST - -#endif |
