summaryrefslogtreecommitdiffhomepage
path: root/StarsEx/Joystick.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'StarsEx/Joystick.cpp')
-rw-r--r--StarsEx/Joystick.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/StarsEx/Joystick.cpp b/StarsEx/Joystick.cpp
index 8679c10..b4166a1 100644
--- a/StarsEx/Joystick.cpp
+++ b/StarsEx/Joystick.cpp
@@ -11,9 +11,11 @@
Joystick Input class
*/
-#include "GameWinDX9.h"
#include "Joystick.h"
-#include "MachineInfo.h"
+
+#include <InfoEx.h>
+
+#include "GameWinDX9.h"
#include "Types.h"
#define DIRECTINPUT_VERSION 0x0800
@@ -79,7 +81,7 @@ Joystick::Joystick()
inv_axis[2] = false;
inv_axis[3] = false;
- if (MachineInfo::GetDirectXVersion() < MachineInfo::DX_7) {
+ if (InfoEx::DirectX() < InfoEx::DXVersion::Dx7) {
Print("Joystick: DI7 not found, using multimedia library\n");
pdi = 0;
pdev = 0;