1
0
Fork 0

Add swap hands status function (#19831)

Co-authored-by: Drashna Jaelre <drashna@live.com>
This commit is contained in:
Albert Y 2023-02-15 04:44:18 +08:00 committed by GitHub
parent 2cdf99ae95
commit 9908ed7ecd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 17 additions and 0 deletions

View file

@ -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.