summaryrefslogtreecommitdiff
path: root/Source/Core/InputCommon/ControllerInterface/Win32/Win32.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Core/InputCommon/ControllerInterface/Win32/Win32.cpp')
-rw-r--r--Source/Core/InputCommon/ControllerInterface/Win32/Win32.cpp26
1 files changed, 26 insertions, 0 deletions
diff --git a/Source/Core/InputCommon/ControllerInterface/Win32/Win32.cpp b/Source/Core/InputCommon/ControllerInterface/Win32/Win32.cpp
new file mode 100644
index 0000000000..2ce583e608
--- /dev/null
+++ b/Source/Core/InputCommon/ControllerInterface/Win32/Win32.cpp
@@ -0,0 +1,26 @@
+// Copyright 2017 Dolphin Emulator Project
+// Licensed under GPLv2+
+// Refer to the license.txt file included.
+
+#include "InputCommon/ControllerInterface/Win32/Win32.h"
+
+#include "InputCommon/ControllerInterface/DInput/DInput.h"
+#include "InputCommon/ControllerInterface/XInput/XInput.h"
+
+void ciface::Win32::Init()
+{
+ // DInput::Init();
+ XInput::Init();
+}
+
+void ciface::Win32::PopulateDevices(void* hwnd)
+{
+ DInput::PopulateDevices(static_cast<HWND>(hwnd));
+ XInput::PopulateDevices();
+}
+
+void ciface::Win32::DeInit()
+{
+ // DInput::DeInit();
+ XInput::DeInit();
+}