mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-15 02:29:51 +01:00
Skip pads if their analog is not set.
Not sure if a deadzone is needed... or if some pads may do a constant bottom left or something...
This commit is contained in:
1 parent
8271027fef
commit
1218db02f5
3 files changed
+6
-2
No files matched your search
@@ -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;
|
||||
}
|
||||
Reference in new issue
Block a user