summaryrefslogtreecommitdiff
path: root/quantum/process_keycode/process_key_override_private.h
diff options
context:
space:
mode:
authorJonas Gessner <JonasGessner@users.noreply.github.com>2021-07-13 19:13:51 +0200
committerGitHub <noreply@github.com>2021-07-13 10:13:51 -0700
commit52cfc9259b58a3a11a244fbe35c49c7dd1a9cae0 (patch)
tree71cbd4b8e2c622a33cbb4d080a08e035901f30c8 /quantum/process_keycode/process_key_override_private.h
parent1ae4d52013c9f38bdc5c208ff8bbfdf173e1dddd (diff)
downloadqmk_firmware-52cfc9259b58a3a11a244fbe35c49c7dd1a9cae0.tar.gz
qmk_firmware-52cfc9259b58a3a11a244fbe35c49c7dd1a9cae0.zip
[Feature] Key Overrides (#11422)
Diffstat (limited to 'quantum/process_keycode/process_key_override_private.h')
-rw-r--r--quantum/process_keycode/process_key_override_private.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/quantum/process_keycode/process_key_override_private.h b/quantum/process_keycode/process_key_override_private.h
new file mode 100644
index 0000000000..1d0e134a19
--- /dev/null
+++ b/quantum/process_keycode/process_key_override_private.h
@@ -0,0 +1,24 @@
+/*
+ * Copyright 2021 Jonas Gessner
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+#pragma once
+
+#include <stdint.h>
+#include "action.h"
+
+bool process_key_override(const uint16_t keycode, const keyrecord_t *const record);
+void matrix_scan_key_override(void);