summaryrefslogtreecommitdiff
path: root/quantum/action.c
diff options
context:
space:
mode:
authorAlbert Y <76888457+filterpaper@users.noreply.github.com>2023-05-13 15:42:06 +0800
committerGitHub <noreply@github.com>2023-05-13 08:42:06 +0100
commit128f808496cf7800fde3c7508388745bd99e8016 (patch)
tree4acee52bde06ed861a96420c01bb140c6c478f15 /quantum/action.c
parent8cb13b67507246cc2b362dcf255c857d9192a1dd (diff)
Add a user callback for pre process record (#20584)
Diffstat (limited to 'quantum/action.c')
-rw-r--r--quantum/action.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/quantum/action.c b/quantum/action.c
index a683ff1130..59bfefc495 100644
--- a/quantum/action.c
+++ b/quantum/action.c
@@ -30,6 +30,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include "wait.h"
#include "keycode_config.h"
#include "debug.h"
+#include "quantum.h"
#ifdef BACKLIGHT_ENABLE
# include "backlight.h"
@@ -65,10 +66,6 @@ __attribute__((weak)) bool get_retro_tapping(uint16_t keycode, keyrecord_t *reco
}
#endif
-__attribute__((weak)) bool pre_process_record_quantum(keyrecord_t *record) {
- return true;
-}
-
/** \brief Called to execute an action.
*
* FIXME: Needs documentation.