From e67a4ba7ce476b5bba273a2d5b693b3641b27dcb Mon Sep 17 00:00:00 2001 From: Luis Garcia Date: Wed, 13 Sep 2023 21:08:00 -0600 Subject: [PATCH] Update to 'peterfalken' userspace configurations (#21836) --- users/peterfalken/config.h | 1 + users/peterfalken/peterfalken.c | 9 +++++++++ 2 files changed, 10 insertions(+) diff --git a/users/peterfalken/config.h b/users/peterfalken/config.h index 5295923ec66..1342705550c 100644 --- a/users/peterfalken/config.h +++ b/users/peterfalken/config.h @@ -14,6 +14,7 @@ #endif // Space optimizations +#define LAYER_STATE_8BIT #undef LOCKING_SUPPORT_ENABLE #undef LOCKING_RESYNC_ENABLE diff --git a/users/peterfalken/peterfalken.c b/users/peterfalken/peterfalken.c index 5041f29da6d..dcec1d650b2 100644 --- a/users/peterfalken/peterfalken.c +++ b/users/peterfalken/peterfalken.c @@ -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) {