win: Fix X360 button problems by skipping DInput if there's a 360 pad available.
This commit is contained in:
parent
e95b43a12d
commit
09d1f3c1fa
5 changed files with 9 additions and 4 deletions
|
@ -8,8 +8,8 @@
|
|||
#define PUSH_BACK(Cls) do { list.push_back(std::shared_ptr<InputDevice>(new Cls())); } while (0)
|
||||
std::list<std::shared_ptr<InputDevice>> getInputDevices() {
|
||||
std::list<std::shared_ptr<InputDevice>> list;
|
||||
PUSH_BACK(KeyboardDevice);
|
||||
PUSH_BACK(XinputDevice);
|
||||
PUSH_BACK(DinputDevice);
|
||||
PUSH_BACK(KeyboardDevice);
|
||||
return list;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue