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