mirror of
https://github.com/openstenoproject/qmk
synced 2024-11-10 10:39:09 +00:00
Rename function to be keyboard-specific
This commit is contained in:
parent
ef21a855e6
commit
acd64aa841
2 changed files with 4 additions and 4 deletions
|
@ -54,7 +54,7 @@ void action_exec(keyevent_t event)
|
|||
}
|
||||
|
||||
__attribute__ ((weak))
|
||||
void process_action_user(keyrecord_t *record) {}
|
||||
void process_action_kb(keyrecord_t *record) {}
|
||||
|
||||
void process_action(keyrecord_t *record)
|
||||
{
|
||||
|
@ -65,7 +65,7 @@ void process_action(keyrecord_t *record)
|
|||
|
||||
if (IS_NOEVENT(event)) { return; }
|
||||
|
||||
process_action_user(record);
|
||||
process_action_kb(record);
|
||||
|
||||
action_t action = layer_switch_get_action(event.key);
|
||||
dprint("ACTION: "); debug_action(action);
|
||||
|
|
|
@ -58,8 +58,8 @@ const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt);
|
|||
/* user defined special function */
|
||||
void action_function(keyrecord_t *record, uint8_t id, uint8_t opt);
|
||||
|
||||
/* user-defined (pre)processing of each key event */
|
||||
void process_action_user(keyrecord_t *record);
|
||||
/* keyboard-specific key event (pre)processing */
|
||||
void process_action_kb(keyrecord_t *record);
|
||||
|
||||
/* Utilities for actions. */
|
||||
void process_action(keyrecord_t *record);
|
||||
|
|
Loading…
Reference in a new issue