mirror of
https://github.com/qmk/qmk_firmware.git
synced 2025-07-17 05:02:07 +00:00
Altered signature of callback functions
This commit is contained in:
parent
754350cc34
commit
3cf4965ec7
@ -62,12 +62,12 @@ void oneshot_locked_mods_set_kb(uint8_t mods) {
|
||||
/** \brief Callback which is called when the one shot modifiers have been locked.
|
||||
*/
|
||||
__attribute__((weak))
|
||||
void oneshot_locked_mods_cleared_user() { }
|
||||
void oneshot_locked_mods_cleared_user(void) { }
|
||||
|
||||
/** \brief Callback which is called when the locked one shot modifiers have been locked.
|
||||
*/
|
||||
__attribute__((weak))
|
||||
void oneshot_locked_mods_cleared_kb() {
|
||||
void oneshot_locked_mods_cleared_kb(void) {
|
||||
oneshot_locked_mods_cleared_user();
|
||||
}
|
||||
|
||||
@ -79,7 +79,7 @@ void oneshot_mods_set_user(uint8_t mods) { }
|
||||
/** \brief Callback which is called when the one shot modifiers have been cleared.
|
||||
*/
|
||||
__attribute__((weak))
|
||||
void oneshot_mods_cleared_user() { }
|
||||
void oneshot_mods_cleared_user(void) { }
|
||||
|
||||
/** \brief Callback which is called when the one shot modifiers have been set.
|
||||
*/
|
||||
|
@ -30,12 +30,12 @@ void send_keyboard_report(void);
|
||||
|
||||
void oneshot_locked_mods_set_user(uint8_t mods);
|
||||
void oneshot_locked_mods_set_kb(uint8_t mods);
|
||||
void oneshot_locked_mods_cleared_user();
|
||||
void oneshot_locked_mods_cleared_kb();
|
||||
void oneshot_locked_mods_cleared_user(void);
|
||||
void oneshot_locked_mods_cleared_kb(void);
|
||||
void oneshot_mods_set_user(uint8_t mods);
|
||||
void oneshot_mods_set_kb(uint8_t mods);
|
||||
void oneshot_mods_cleared_user();
|
||||
void oneshot_mods_cleared_kb();
|
||||
void oneshot_mods_cleared_user(void);
|
||||
void oneshot_mods_cleared_kb(void);
|
||||
|
||||
/* key */
|
||||
inline void add_key(uint8_t key) {
|
||||
|
Loading…
Reference in New Issue
Block a user