You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
361 B

  1. // Copyright 2022 QMK
  2. // SPDX-License-Identifier: GPL-2.0-or-later
  3. #pragma once
  4. #include <stdbool.h>
  5. #include "action.h"
  6. /** \brief Intercept keycodes and detect unlock sequences
  7. */
  8. bool preprocess_secure(uint16_t keycode, keyrecord_t *record);
  9. /** \brief Handle any secure specific keycodes
  10. */
  11. bool process_secure(uint16_t keycode, keyrecord_t *record);