mirror of
https://github.com/qmk/qmk_firmware
synced 2024-11-10 05:59:44 +00:00
Update to 'peterfalken' userspace configurations (#21836)
This commit is contained in:
parent
9f0f39555c
commit
e67a4ba7ce
2 changed files with 10 additions and 0 deletions
|
@ -14,6 +14,7 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// Space optimizations
|
// Space optimizations
|
||||||
|
#define LAYER_STATE_8BIT
|
||||||
#undef LOCKING_SUPPORT_ENABLE
|
#undef LOCKING_SUPPORT_ENABLE
|
||||||
#undef LOCKING_RESYNC_ENABLE
|
#undef LOCKING_RESYNC_ENABLE
|
||||||
|
|
||||||
|
|
|
@ -3,6 +3,15 @@
|
||||||
|
|
||||||
#include "peterfalken.h"
|
#include "peterfalken.h"
|
||||||
|
|
||||||
|
// Magic keycodes - overwrite placeholder functions
|
||||||
|
uint16_t keycode_config(uint16_t keycode) {
|
||||||
|
return keycode;
|
||||||
|
}
|
||||||
|
|
||||||
|
uint8_t mod_config(uint8_t mod) {
|
||||||
|
return mod;
|
||||||
|
}
|
||||||
|
|
||||||
// Switch layer
|
// Switch layer
|
||||||
#ifndef CUSTOM_LAYER_STATE
|
#ifndef CUSTOM_LAYER_STATE
|
||||||
layer_state_t layer_state_set_user(layer_state_t state) {
|
layer_state_t layer_state_set_user(layer_state_t state) {
|
||||||
|
|
Loading…
Reference in a new issue