qmk_firmware

QMK firmware for my keyboards (Corne, Sweep Ferris) and trackball (Ploopy Adept)
Log | Files | Refs | Submodules | LICENSE

process_tri_layer.h (410B)


      1 // Copyright 2023 QMK
      2 // SPDX-License-Identifier: GPL-2.0-or-later
      3 
      4 #pragma once
      5 
      6 #include <stdint.h>
      7 #include <stdbool.h>
      8 #include "action.h"
      9 
     10 /**
     11  * @brief Handles tri layer behavior
     12  *
     13  * @param keycode the keycode
     14  * @param record the key record structure
     15  * @return true continue handling keycodes
     16  * @return false stop handling keycodes
     17  */
     18 bool process_tri_layer(uint16_t keycode, keyrecord_t *record);