diff options
| author | 2016-05-15 13:35:45 +0300 | |
|---|---|---|
| committer | 2016-05-15 13:35:45 +0300 | |
| commit | 6d49e4621c7ea7565262998782ff52910940fcd9 (patch) | |
| tree | dba0511284aadb360ab1c5be68a3f73c28366267 /src/common/key_map.h | |
| parent | implement circle pad modifier (diff) | |
| download | yuzu-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.h | 14 |
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 | ||
| 13 | namespace KeyMap { | 13 | namespace 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 | */ | ||
| 15 | enum class IndirectTarget { | 19 | enum 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 | /** |