Browse Source

Update to 'peterfalken' userspace configurations (#21836)

Luis Garcia 2 years ago
parent
commit
e67a4ba7ce
2 changed files with 10 additions and 0 deletions
  1. 1 0
      users/peterfalken/config.h
  2. 9 0
      users/peterfalken/peterfalken.c

+ 1 - 0
users/peterfalken/config.h

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

+ 9 - 0
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) {