diff options
author | Albert Y <[email protected]> | 2023-02-15 04:44:18 +0800 |
---|---|---|
committer | GitHub <[email protected]> | 2023-02-14 12:44:18 -0800 |
commit | 9908ed7ecd1bc0c45f0322b959811bd8fd641961 (patch) | |
tree | 4ade9b79f3c7f41177d981d017c8953dfb8415dd /quantum/action.h | |
parent | 2cdf99ae950a82e233482347651b7689c4896827 (diff) | |
download | qmk_firmware-9908ed7ecd1bc0c45f0322b959811bd8fd641961.tar.gz qmk_firmware-9908ed7ecd1bc0c45f0322b959811bd8fd641961.zip |
Add swap hands status function (#19831)
Co-authored-by: Drashna Jaelre <[email protected]>
Diffstat (limited to 'quantum/action.h')
-rw-r--r-- | quantum/action.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/quantum/action.h b/quantum/action.h index e4d28ba947..8ef6db6781 100644 --- a/quantum/action.h +++ b/quantum/action.h @@ -84,6 +84,13 @@ typedef uint32_t swap_state_row_t; # error "MATRIX_COLS: invalid value" # endif +/** + * @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 |