summaryrefslogtreecommitdiff
path: root/quantum/action.h
diff options
context:
space:
mode:
authorAlbert Y <76888457+filterpaper@users.noreply.github.com>2023-04-10 00:37:31 +0800
committerGitHub <noreply@github.com>2023-04-09 09:37:31 -0700
commitf5b74918837bacc5aaa98641428309380d591707 (patch)
tree54e452545a995599c9962515bd9838f78455fe45 /quantum/action.h
parent5d6d9594212073ca52b80a1a949510187af47b13 (diff)
Add swap hands toggle functions (#20381)
Diffstat (limited to 'quantum/action.h')
-rw-r--r--quantum/action.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/quantum/action.h b/quantum/action.h
index 8ef6db6781..2a2c294c5a 100644
--- a/quantum/action.h
+++ b/quantum/action.h
@@ -85,12 +85,25 @@ typedef uint32_t swap_state_row_t;
# endif
/**
+ * @brief Enable swap hands
+ */
+void swap_hands_on(void);
+/**
+ * @brief Disable swap hands
+ */
+void swap_hands_off(void);
+/**
+ * @brief Toggle swap hands enable state
+ */
+void swap_hands_toggle(void);
+/**
* @brief Get the swap hands enable state
*
* @return true
* @return false
*/
bool is_swap_hands_on(void);
+
void process_hand_swap(keyevent_t *record);
#endif