mirror of
https://github.com/Keychron/qmk_firmware.git
synced 2024-11-22 08:27:56 +06:00
17 lines
381 B
C
17 lines
381 B
C
// Copyright 2022 QMK
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
#pragma once
|
|
|
|
#include <stdint.h>
|
|
#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);
|