1
0

Add leader_add_user callback (#24266)

This commit is contained in:
Will Spooner
2025-01-02 07:12:58 +00:00
committed by GitHub
parent e016b9b4c5
commit b603094995
3 changed files with 31 additions and 0 deletions

View File

@@ -21,6 +21,15 @@ void leader_start_user(void);
*/
void leader_end_user(void);
/**
* \brief User callback, invoked when a keycode is added to the leader sequence.
*
* \param keycode The keycode added to the leader sequence.
*
* \return `true` to finish the key sequence, `false` to continue.
*/
bool leader_add_user(uint16_t keycode);
/**
* Begin the leader sequence, resetting the buffer and timer.
*/