2022-04-16 18:13:05 +00:00
|
|
|
// Copyright 2022 QMK
|
|
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
2023-07-11 07:07:24 +00:00
|
|
|
#include <stdint.h>
|
2022-04-16 18:13:05 +00:00
|
|
|
#include <stdbool.h>
|
|
|
|
#include "action.h"
|
|
|
|
|
|
|
|
/** \brief Intercept keycodes and detect unlock sequences
|
|
|
|
*/
|
|
|
|
bool preprocess_secure(uint16_t keycode, keyrecord_t *record);
|
|
|
|
|
|
|
|
/** \brief Handle any secure specific keycodes
|
|
|
|
*/
|
|
|
|
bool process_secure(uint16_t keycode, keyrecord_t *record);
|