mirror of
https://github.com/qmk/qmk_firmware
synced 2024-11-18 09:55:48 +00:00
92a61aa0cd
Co-authored-by: Drashna Jaelre <drashna@live.com> Co-authored-by: Stefan Kerkmann <karlk90@pm.me>
15 lines
361 B
C
15 lines
361 B
C
// Copyright 2022 QMK
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
#pragma once
|
|
|
|
#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);
|