From 9908ed7ecd1bc0c45f0322b959811bd8fd641961 Mon Sep 17 00:00:00 2001 From: Albert Y <76888457+filterpaper@users.noreply.github.com> Date: Wed, 15 Feb 2023 04:44:18 +0800 Subject: Add swap hands status function (#19831) Co-authored-by: Drashna Jaelre --- quantum/action.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'quantum/action.c') diff --git a/quantum/action.c b/quantum/action.c index ee412db393..d2e54bf8ec 100644 --- a/quantum/action.c +++ b/quantum/action.c @@ -161,6 +161,10 @@ void set_swap_hands_state(size_t index, uint8_t *swap_state, bool on) { } } +bool is_swap_hands_on(void) { + return swap_hands; +} + /** \brief Process Hand Swap * * FIXME: Needs documentation. -- cgit v1.2.3