summaryrefslogtreecommitdiff
path: root/src/common/key_map.h
diff options
context:
space:
mode:
authorGravatar wwylele2016-05-15 13:35:45 +0300
committerGravatar wwylele2016-05-15 13:35:45 +0300
commit6d49e4621c7ea7565262998782ff52910940fcd9 (patch)
treedba0511284aadb360ab1c5be68a3f73c28366267 /src/common/key_map.h
parentimplement circle pad modifier (diff)
downloadyuzu-6d49e4621c7ea7565262998782ff52910940fcd9.tar.gz
yuzu-6d49e4621c7ea7565262998782ff52910940fcd9.tar.xz
yuzu-6d49e4621c7ea7565262998782ff52910940fcd9.zip
fixup! Refactor input system
Diffstat (limited to 'src/common/key_map.h')
-rw-r--r--src/common/key_map.h14
1 files changed, 9 insertions, 5 deletions
diff --git a/src/common/key_map.h b/src/common/key_map.h
index ec371bdde..4b585c1b9 100644
--- a/src/common/key_map.h
+++ b/src/common/key_map.h
@@ -12,12 +12,16 @@ class EmuWindow;
12 12
13namespace KeyMap { 13namespace KeyMap {
14 14
15/**
16 * Represents a key mapping target that are not 3DS real buttons.
17 * They will be handled by KeyMap and translated to 3DS input.
18 */
15enum class IndirectTarget { 19enum class IndirectTarget {
16 CIRCLE_PAD_UP, 20 CirclePadUp,
17 CIRCLE_PAD_DOWN, 21 CirclePadDown,
18 CIRCLE_PAD_LEFT, 22 CirclePadLeft,
19 CIRCLE_PAD_RIGHT, 23 CirclePadRight,
20 CIRCLE_PAD_MODIFIER, 24 CirclePadModifier,
21}; 25};
22 26
23/** 27/**