2023-02-11 23:23:07 +00:00
|
|
|
// Copyright 2023 QMK
|
|
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
2023-07-11 07:07:24 +00:00
|
|
|
#include <stdint.h>
|
|
|
|
#include <stdbool.h>
|
2023-02-11 23:23:07 +00:00
|
|
|
#include "action.h"
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @brief Handles tri layer behavior
|
|
|
|
*
|
|
|
|
* @param keycode the keycode
|
|
|
|
* @param record the key record structure
|
|
|
|
* @return true continue handling keycodes
|
|
|
|
* @return false stop handling keycodes
|
|
|
|
*/
|
|
|
|
bool process_tri_layer(uint16_t keycode, keyrecord_t *record);
|