diff options
| author | 2017-01-21 13:04:00 +0200 | |
|---|---|---|
| committer | 2017-03-01 23:30:57 +0200 | |
| commit | a6bd7917cbc06f9b8f5a7ae24e75db776dc1cd6a (patch) | |
| tree | 2ed60e602d520f80f57f88f879c4f50363432c17 /src/input_common/main.h | |
| parent | InputCommon: add Keyboard (diff) | |
| download | yuzu-a6bd7917cbc06f9b8f5a7ae24e75db776dc1cd6a.tar.gz yuzu-a6bd7917cbc06f9b8f5a7ae24e75db776dc1cd6a.tar.xz yuzu-a6bd7917cbc06f9b8f5a7ae24e75db776dc1cd6a.zip | |
InputCommon: add AnalogFromButton
Diffstat (limited to 'src/input_common/main.h')
| -rw-r--r-- | src/input_common/main.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/input_common/main.h b/src/input_common/main.h index a490dd829..140bbd014 100644 --- a/src/input_common/main.h +++ b/src/input_common/main.h | |||
| @@ -22,4 +22,8 @@ Keyboard* GetKeyboard(); | |||
| 22 | /// Generates a serialized param package for creating a keyboard button device | 22 | /// Generates a serialized param package for creating a keyboard button device |
| 23 | std::string GenerateKeyboardParam(int key_code); | 23 | std::string GenerateKeyboardParam(int key_code); |
| 24 | 24 | ||
| 25 | /// Generates a serialized param package for creating an analog device taking input from keyboard | ||
| 26 | std::string GenerateAnalogParamFromKeys(int key_up, int key_down, int key_left, int key_right, | ||
| 27 | int key_modifier, float modifier_scale); | ||
| 28 | |||
| 25 | } // namespace InputCommon | 29 | } // namespace InputCommon |