From 7227b61de4b2f3bcb4229a3423e62501830750fb Mon Sep 17 00:00:00 2001 From: 9R Date: Thu, 13 Apr 2023 00:37:40 +0200 Subject: [PATCH] apply suggested improvements --- keyboards/handwired/replicazeron/replicazeron.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/keyboards/handwired/replicazeron/replicazeron.c b/keyboards/handwired/replicazeron/replicazeron.c index 16198dea184..21a1c14b7fa 100644 --- a/keyboards/handwired/replicazeron/replicazeron.c +++ b/keyboards/handwired/replicazeron/replicazeron.c @@ -26,7 +26,7 @@ joystick_config_t joystick_axes[JOYSTICK_AXIS_COUNT] = { #endif #ifdef THUMBSTICK_ENABLE -void housekeeping_task_user(void) { +void housekeeping_task_kb(void) { if (controller_state.wasdMode) { thumbstick(controller_state); } @@ -92,6 +92,7 @@ bool process_record_kb(uint16_t keycode, keyrecord_t *record) { }; layer_state_t layer_state_set_kb(layer_state_t state) { + state = layer_state_set_user(state); controller_state.highestActiveLayer = get_highest_layer(state) ; #ifdef LEDS_ENABLE