diff options
Diffstat (limited to 'src/input_common/main.h')
| -rw-r--r-- | src/input_common/main.h | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/src/input_common/main.h b/src/input_common/main.h index f66308163..58e5dc250 100644 --- a/src/input_common/main.h +++ b/src/input_common/main.h | |||
| @@ -8,13 +8,19 @@ | |||
| 8 | #include <string> | 8 | #include <string> |
| 9 | #include <unordered_map> | 9 | #include <unordered_map> |
| 10 | #include <vector> | 10 | #include <vector> |
| 11 | #include "input_common/gcadapter/gc_poller.h" | ||
| 12 | #include "input_common/settings.h" | ||
| 13 | 11 | ||
| 14 | namespace Common { | 12 | namespace Common { |
| 15 | class ParamPackage; | 13 | class ParamPackage; |
| 16 | } | 14 | } |
| 17 | 15 | ||
| 16 | namespace Settings::NativeAnalog { | ||
| 17 | enum Values : int; | ||
| 18 | } | ||
| 19 | |||
| 20 | namespace Settings::NativeButton { | ||
| 21 | enum Values : int; | ||
| 22 | } | ||
| 23 | |||
| 18 | namespace InputCommon { | 24 | namespace InputCommon { |
| 19 | namespace Polling { | 25 | namespace Polling { |
| 20 | 26 | ||
| @@ -40,9 +46,6 @@ public: | |||
| 40 | */ | 46 | */ |
| 41 | virtual Common::ParamPackage GetNextInput() = 0; | 47 | virtual Common::ParamPackage GetNextInput() = 0; |
| 42 | }; | 48 | }; |
| 43 | |||
| 44 | // Get all DevicePoller from all backends for a specific device type | ||
| 45 | std::vector<std::unique_ptr<DevicePoller>> GetPollers(DeviceType type); | ||
| 46 | } // namespace Polling | 49 | } // namespace Polling |
| 47 | 50 | ||
| 48 | class GCAnalogFactory; | 51 | class GCAnalogFactory; |