diff options
Diffstat (limited to 'quantum/process_keycode/process_tri_layer.h')
| -rw-r--r-- | quantum/process_keycode/process_tri_layer.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/quantum/process_keycode/process_tri_layer.h b/quantum/process_keycode/process_tri_layer.h new file mode 100644 index 0000000000..9c4e3df1c2 --- /dev/null +++ b/quantum/process_keycode/process_tri_layer.h | |||
| @@ -0,0 +1,16 @@ | |||
| 1 | // Copyright 2023 QMK | ||
| 2 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 3 | |||
| 4 | #pragma once | ||
| 5 | |||
| 6 | #include "action.h" | ||
| 7 | |||
| 8 | /** | ||
| 9 | * @brief Handles tri layer behavior | ||
| 10 | * | ||
| 11 | * @param keycode the keycode | ||
| 12 | * @param record the key record structure | ||
| 13 | * @return true continue handling keycodes | ||
| 14 | * @return false stop handling keycodes | ||
| 15 | */ | ||
| 16 | bool process_tri_layer(uint16_t keycode, keyrecord_t *record); | ||
