mirror of
https://github.com/Keychron/qmk_firmware.git
synced 2024-12-01 21:26:55 +06:00
12 lines
318 B
C
12 lines
318 B
C
|
// Copyright 2023 Peter.Falken (@PeterFalken)
|
||
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
||
|
|
||
|
#include "peterfalken.h"
|
||
|
|
||
|
// Switch layer
|
||
|
#ifndef CUSTOM_LAYER_STATE
|
||
|
layer_state_t layer_state_set_user(layer_state_t state) {
|
||
|
return update_tri_layer_state(state, _LOWER, _RAISE, _ADJUST);
|
||
|
}
|
||
|
#endif // CUSTOM_LAYER_STATE
|