diff options
| author | 2021-09-20 16:41:15 -0500 | |
|---|---|---|
| committer | 2021-11-24 20:30:22 -0600 | |
| commit | 854c933716f0f5e1dbf62157c5a76e65213b30b2 (patch) | |
| tree | 229ada777d889243bdfcb6c240ad615c246cd8c6 /src/input_common/main.h | |
| parent | input_common: Create input_engine (diff) | |
| download | yuzu-854c933716f0f5e1dbf62157c5a76e65213b30b2.tar.gz yuzu-854c933716f0f5e1dbf62157c5a76e65213b30b2.tar.xz yuzu-854c933716f0f5e1dbf62157c5a76e65213b30b2.zip | |
input_common: Create input poller and mapping
Diffstat (limited to 'src/input_common/main.h')
| -rw-r--r-- | src/input_common/main.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/input_common/main.h b/src/input_common/main.h index 6390d3f09..eb247e164 100644 --- a/src/input_common/main.h +++ b/src/input_common/main.h | |||
| @@ -38,6 +38,9 @@ namespace Polling { | |||
| 38 | 38 | ||
| 39 | enum class DeviceType { Button, AnalogPreferred, Motion }; | 39 | enum class DeviceType { Button, AnalogPreferred, Motion }; |
| 40 | 40 | ||
| 41 | /// Type of input desired for mapping purposes | ||
| 42 | enum class InputType { None, Button, Stick, Motion, Touch }; | ||
| 43 | |||
| 41 | /** | 44 | /** |
| 42 | * A class that can be used to get inputs from an input device like controllers without having to | 45 | * A class that can be used to get inputs from an input device like controllers without having to |
| 43 | * poll the device's status yourself | 46 | * poll the device's status yourself |