2022-04-16 11:13:05 -07:00
|
|
|
// Copyright 2022 QMK
|
|
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
2023-07-11 00:07:24 -07:00
|
|
|
#include <stdint.h>
|
2022-04-16 11:13:05 -07: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);
|