diff options
| author | 2020-06-21 12:36:28 -0400 | |
|---|---|---|
| committer | 2020-06-21 12:36:28 -0400 | |
| commit | 0248614add99c1df1bc7c9ff97091f678ff75aca (patch) | |
| tree | e7a4a8e629039f940b4bef76e69d51ddbf2a0639 /src/input_common/main.h | |
| parent | Merge pull request #4120 from lioncash/arb (diff) | |
| download | yuzu-0248614add99c1df1bc7c9ff97091f678ff75aca.tar.gz yuzu-0248614add99c1df1bc7c9ff97091f678ff75aca.tar.xz yuzu-0248614add99c1df1bc7c9ff97091f678ff75aca.zip | |
GC Adapter Implementation
Diffstat (limited to 'src/input_common/main.h')
| -rw-r--r-- | src/input_common/main.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/input_common/main.h b/src/input_common/main.h index 77a0ce90b..be2e7a6c4 100644 --- a/src/input_common/main.h +++ b/src/input_common/main.h | |||
| @@ -7,6 +7,8 @@ | |||
| 7 | #include <memory> | 7 | #include <memory> |
| 8 | #include <string> | 8 | #include <string> |
| 9 | #include <vector> | 9 | #include <vector> |
| 10 | #include "input_common/gcadapter/gc_poller.h" | ||
| 11 | #include "input_common/gcadapter/gc_adapter.h" | ||
| 10 | 12 | ||
| 11 | namespace Common { | 13 | namespace Common { |
| 12 | class ParamPackage; | 14 | class ParamPackage; |
| @@ -30,6 +32,13 @@ class MotionEmu; | |||
| 30 | /// Gets the motion emulation factory. | 32 | /// Gets the motion emulation factory. |
| 31 | MotionEmu* GetMotionEmu(); | 33 | MotionEmu* GetMotionEmu(); |
| 32 | 34 | ||
| 35 | class GCButtonFactory; | ||
| 36 | class GCAnalogFactory; | ||
| 37 | |||
| 38 | GCButtonFactory* GetGCButtons(); | ||
| 39 | GCAnalogFactory* GetGCAnalogs(); | ||
| 40 | |||
| 41 | |||
| 33 | /// Generates a serialized param package for creating a keyboard button device | 42 | /// Generates a serialized param package for creating a keyboard button device |
| 34 | std::string GenerateKeyboardParam(int key_code); | 43 | std::string GenerateKeyboardParam(int key_code); |
| 35 | 44 | ||