process_secure.h
381 bytes
1// Copyright 2022 QMK
2// SPDX-License-Identifier: GPL-2.0-or-later
3
4#pragma once
5
6#include <stdint.h>
7#include <stdbool.h>
8#include "action.h"
9
10/** \brief Intercept keycodes and detect unlock sequences
11 */
12bool preprocess_secure(uint16_t keycode, keyrecord_t *record);
13
14/** \brief Handle any secure specific keycodes
15 */
16bool process_secure(uint16_t keycode, keyrecord_t *record);