logo

qmk_firmware

custom branch of QMK firmware git clone https://anongit.hacktivis.me/git/qmk_firmware.git

process_secure.h (381B)


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