mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-20 17:59:08 +02:00
Windows: add support DirectInput gamepads (devices);
This commit is contained in:
1 parent
d82b09b087
commit
6d2abe95b4
5 files changed
+168
No files matched your search
@@ -1,5 +1,6 @@
|
||||
#include "InputDevice.h"
|
||||
#include "XinputDevice.h"
|
||||
#include "DinputDevice.h"
|
||||
#include "KeyboardDevice.h"
|
||||
#include <list>
|
||||
#include <memory>
|
||||
@@ -8,6 +9,7 @@
|
||||
std::list<std::shared_ptr<InputDevice>> getInputDevices() {
|
||||
std::list<std::shared_ptr<InputDevice>> list;
|
||||
PUSH_BACK(XinputDevice);
|
||||
PUSH_BACK(DinputDevice);
|
||||
PUSH_BACK(KeyboardDevice);
|
||||
return list;
|
||||
}
|
||||
Reference in new issue
Block a user