summaryrefslogtreecommitdiffstats
path: root/users/peterfalken
diff options
context:
space:
mode:
authorLuis Garcia <luis@bitjester.com>2023-09-13 21:08:00 -0600
committerGitHub <noreply@github.com>2023-09-14 13:08:00 +1000
commite67a4ba7ce476b5bba273a2d5b693b3641b27dcb (patch)
tree37c2c1707c4da24bf0c90ea922df9f65387d70c4 /users/peterfalken
parent9f0f39555ce321af3769beaed4af3364ec107590 (diff)
Update to 'peterfalken' userspace configurations (#21836)
Diffstat (limited to 'users/peterfalken')
-rw-r--r--users/peterfalken/config.h1
-rw-r--r--users/peterfalken/peterfalken.c9
2 files changed, 10 insertions, 0 deletions
diff --git a/users/peterfalken/config.h b/users/peterfalken/config.h
index 5295923ec6..1342705550 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 5041f29da6..dcec1d650b 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) {