summaryrefslogtreecommitdiff
path: root/src/input_common/main.h
diff options
context:
space:
mode:
authorGravatar german772021-09-20 16:41:15 -0500
committerGravatar Narr the Reg2021-11-24 20:30:22 -0600
commit854c933716f0f5e1dbf62157c5a76e65213b30b2 (patch)
tree229ada777d889243bdfcb6c240ad615c246cd8c6 /src/input_common/main.h
parentinput_common: Create input_engine (diff)
downloadyuzu-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.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 {
38 38
39enum class DeviceType { Button, AnalogPreferred, Motion }; 39enum class DeviceType { Button, AnalogPreferred, Motion };
40 40
41/// Type of input desired for mapping purposes
42enum 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