diff options
| author | Damien Pollet <damien.pollet@gmail.com> | 2016-03-28 16:12:50 +0200 |
|---|---|---|
| committer | Damien Pollet <damien.pollet@gmail.com> | 2016-03-28 16:30:00 +0200 |
| commit | acd64aa841f92ee638ca630fc66c3ff91c09ae72 (patch) | |
| tree | 20e67e1d1b09b59f07159a2c7c206e5e88e76b67 /tmk_core/common | |
| parent | ef21a855e6d60b78011ddb8940f58985b1c60acb (diff) | |
| download | qmk_firmware-acd64aa841f92ee638ca630fc66c3ff91c09ae72.tar.gz qmk_firmware-acd64aa841f92ee638ca630fc66c3ff91c09ae72.zip | |
Rename function to be keyboard-specific
Diffstat (limited to 'tmk_core/common')
| -rw-r--r-- | tmk_core/common/action.c | 4 | ||||
| -rw-r--r-- | tmk_core/common/action.h | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/tmk_core/common/action.c b/tmk_core/common/action.c index c6595196f..2ccc0e0b9 100644 --- a/tmk_core/common/action.c +++ b/tmk_core/common/action.c | |||
| @@ -54,7 +54,7 @@ void action_exec(keyevent_t event) | |||
| 54 | } | 54 | } |
| 55 | 55 | ||
| 56 | __attribute__ ((weak)) | 56 | __attribute__ ((weak)) |
| 57 | void process_action_user(keyrecord_t *record) {} | 57 | void process_action_kb(keyrecord_t *record) {} |
| 58 | 58 | ||
| 59 | void process_action(keyrecord_t *record) | 59 | void process_action(keyrecord_t *record) |
| 60 | { | 60 | { |
| @@ -65,7 +65,7 @@ void process_action(keyrecord_t *record) | |||
| 65 | 65 | ||
| 66 | if (IS_NOEVENT(event)) { return; } | 66 | if (IS_NOEVENT(event)) { return; } |
| 67 | 67 | ||
| 68 | process_action_user(record); | 68 | process_action_kb(record); |
| 69 | 69 | ||
| 70 | action_t action = layer_switch_get_action(event.key); | 70 | action_t action = layer_switch_get_action(event.key); |
| 71 | dprint("ACTION: "); debug_action(action); | 71 | dprint("ACTION: "); debug_action(action); |
diff --git a/tmk_core/common/action.h b/tmk_core/common/action.h index 141dc3fca..9f528af4b 100644 --- a/tmk_core/common/action.h +++ b/tmk_core/common/action.h | |||
| @@ -58,8 +58,8 @@ const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt); | |||
| 58 | /* user defined special function */ | 58 | /* user defined special function */ |
| 59 | void action_function(keyrecord_t *record, uint8_t id, uint8_t opt); | 59 | void action_function(keyrecord_t *record, uint8_t id, uint8_t opt); |
| 60 | 60 | ||
| 61 | /* user-defined (pre)processing of each key event */ | 61 | /* keyboard-specific key event (pre)processing */ |
| 62 | void process_action_user(keyrecord_t *record); | 62 | void process_action_kb(keyrecord_t *record); |
| 63 | 63 | ||
| 64 | /* Utilities for actions. */ | 64 | /* Utilities for actions. */ |
| 65 | void process_action(keyrecord_t *record); | 65 | void process_action(keyrecord_t *record); |
