summaryrefslogtreecommitdiffstats
path: root/src/common/key_map.h
diff options
context:
space:
mode:
authorwwylele <wwylele@gmail.com>2016-05-15 12:35:45 +0200
committerwwylele <wwylele@gmail.com>2016-05-15 12:35:45 +0200
commit6d49e4621c7ea7565262998782ff52910940fcd9 (patch)
treedba0511284aadb360ab1c5be68a3f73c28366267 /src/common/key_map.h
parentimplement circle pad modifier (diff)
downloadyuzu-6d49e4621c7ea7565262998782ff52910940fcd9.tar
yuzu-6d49e4621c7ea7565262998782ff52910940fcd9.tar.gz
yuzu-6d49e4621c7ea7565262998782ff52910940fcd9.tar.bz2
yuzu-6d49e4621c7ea7565262998782ff52910940fcd9.tar.lz
yuzu-6d49e4621c7ea7565262998782ff52910940fcd9.tar.xz
yuzu-6d49e4621c7ea7565262998782ff52910940fcd9.tar.zst
yuzu-6d49e4621c7ea7565262998782ff52910940fcd9.zip
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;
namespace KeyMap {
+/**
+ * Represents a key mapping target that are not 3DS real buttons.
+ * They will be handled by KeyMap and translated to 3DS input.
+ */
enum class IndirectTarget {
- CIRCLE_PAD_UP,
- CIRCLE_PAD_DOWN,
- CIRCLE_PAD_LEFT,
- CIRCLE_PAD_RIGHT,
- CIRCLE_PAD_MODIFIER,
+ CirclePadUp,
+ CirclePadDown,
+ CirclePadLeft,
+ CirclePadRight,
+ CirclePadModifier,
};
/**