mirror of
https://github.com/qmk/qmk_firmware.git
synced 2024-11-25 12:46:41 +00:00
d058091d0b
Co-authored-by: Peter.Falken <luis.garcia@bitjester.com>
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
|