summaryrefslogtreecommitdiff
path: root/src/common/key_map.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/key_map.h')
-rw-r--r--src/common/key_map.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/common/key_map.h b/src/common/key_map.h
index 4b585c1b9..b62f017c6 100644
--- a/src/common/key_map.h
+++ b/src/common/key_map.h
@@ -13,7 +13,7 @@ class EmuWindow;
13namespace KeyMap { 13namespace KeyMap {
14 14
15/** 15/**
16 * Represents a key mapping target that are not 3DS real buttons. 16 * Represents key mapping targets that are not real 3DS buttons.
17 * They will be handled by KeyMap and translated to 3DS input. 17 * They will be handled by KeyMap and translated to 3DS input.
18 */ 18 */
19enum class IndirectTarget { 19enum class IndirectTarget {
@@ -25,7 +25,7 @@ enum class IndirectTarget {
25}; 25};
26 26
27/** 27/**
28 * Represents a key mapping target. It can be a PadState that represents 3DS real buttons, 28 * Represents a key mapping target. It can be a PadState that represents real 3DS buttons,
29 * or an IndirectTarget. 29 * or an IndirectTarget.
30 */ 30 */
31struct KeyTarget { 31struct KeyTarget {
@@ -84,12 +84,12 @@ void SetKeyMapping(HostDeviceKey key, KeyTarget target);
84void ClearKeyMapping(int device_id); 84void ClearKeyMapping(int device_id);
85 85
86/** 86/**
87 * Maps a key press actions and call the corresponding function in EmuWindow 87 * Maps a key press action and call the corresponding function in EmuWindow
88 */ 88 */
89void PressKey(EmuWindow& emu_window, HostDeviceKey key); 89void PressKey(EmuWindow& emu_window, HostDeviceKey key);
90 90
91/** 91/**
92 * Maps a key release actions and call the corresponding function in EmuWindow 92 * Maps a key release action and call the corresponding function in EmuWindow
93 */ 93 */
94void ReleaseKey(EmuWindow& emu_window, HostDeviceKey key); 94void ReleaseKey(EmuWindow& emu_window, HostDeviceKey key);
95 95