aboutsummaryrefslogtreecommitdiff
path: root/qmk/keyboards/sofle_choc/keymaps/custom/layer_dance.h
diff options
context:
space:
mode:
Diffstat (limited to 'qmk/keyboards/sofle_choc/keymaps/custom/layer_dance.h')
-rw-r--r--qmk/keyboards/sofle_choc/keymaps/custom/layer_dance.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/qmk/keyboards/sofle_choc/keymaps/custom/layer_dance.h b/qmk/keyboards/sofle_choc/keymaps/custom/layer_dance.h
index efa1f7a..7d44c3f 100644
--- a/qmk/keyboards/sofle_choc/keymaps/custom/layer_dance.h
+++ b/qmk/keyboards/sofle_choc/keymaps/custom/layer_dance.h
@@ -1,5 +1,6 @@
#pragma once
#include QMK_KEYBOARD_H
+#include "quad_tapdance.h"
/**
* State of the tapdance, hold both the tapdance state, and the layer we need
@@ -7,7 +8,7 @@
*/
typedef struct {
td_state_t state;
- uint8_t layer;
+ const uint8_t layer;
} tap_dance_layer_t;
void tap_dance_layer_finished(tap_dance_state_t *state, void *user_data);