Update to 'peterfalken' userspace configurations (#21836)

This commit is contained in:
Luis Garcia 2023-09-13 21:08:00 -06:00 committed by GitHub
parent 9f0f39555c
commit e67a4ba7ce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 0 deletions

View File

@ -14,6 +14,7 @@
#endif
// Space optimizations
#define LAYER_STATE_8BIT
#undef LOCKING_SUPPORT_ENABLE
#undef LOCKING_RESYNC_ENABLE

View File

@ -3,6 +3,15 @@
#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
#ifndef CUSTOM_LAYER_STATE
layer_state_t layer_state_set_user(layer_state_t state) {