summaryrefslogtreecommitdiff
path: root/src/input_common/main.h
diff options
context:
space:
mode:
authorgerman77 <juangerman-13@hotmail.com>2021-09-20 16:41:15 -0500
committerNarr the Reg <juangerman-13@hotmail.com>2021-11-24 20:30:22 -0600
commit854c933716f0f5e1dbf62157c5a76e65213b30b2 (patch)
tree229ada777d889243bdfcb6c240ad615c246cd8c6 /src/input_common/main.h
parentea7b1fbc673e40d5e51f2d185ebe8542741164fa (diff)
input_common: Create input poller and mapping
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