summaryrefslogtreecommitdiffstats
path: root/src/input_common/main.h
diff options
context:
space:
mode:
authorgerman77 <juangerman-13@hotmail.com>2021-09-20 23:41:15 +0200
committerNarr the Reg <juangerman-13@hotmail.com>2021-11-25 03:30:22 +0100
commit854c933716f0f5e1dbf62157c5a76e65213b30b2 (patch)
tree229ada777d889243bdfcb6c240ad615c246cd8c6 /src/input_common/main.h
parentinput_common: Create input_engine (diff)
downloadyuzu-854c933716f0f5e1dbf62157c5a76e65213b30b2.tar
yuzu-854c933716f0f5e1dbf62157c5a76e65213b30b2.tar.gz
yuzu-854c933716f0f5e1dbf62157c5a76e65213b30b2.tar.bz2
yuzu-854c933716f0f5e1dbf62157c5a76e65213b30b2.tar.lz
yuzu-854c933716f0f5e1dbf62157c5a76e65213b30b2.tar.xz
yuzu-854c933716f0f5e1dbf62157c5a76e65213b30b2.tar.zst
yuzu-854c933716f0f5e1dbf62157c5a76e65213b30b2.zip
Diffstat (limited to 'src/input_common/main.h')
-rw-r--r--src/input_common/main.h3
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 {
enum class DeviceType { Button, AnalogPreferred, Motion };
+/// Type of input desired for mapping purposes
+enum class InputType { None, Button, Stick, Motion, Touch };
+
/**
* A class that can be used to get inputs from an input device like controllers without having to
* poll the device's status yourself