summaryrefslogtreecommitdiff
path: root/keyboards/ploopyco/trackball_nano
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/ploopyco/trackball_nano')
-rw-r--r--keyboards/ploopyco/trackball_nano/keymaps/maddie/keymap.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/keyboards/ploopyco/trackball_nano/keymaps/maddie/keymap.c b/keyboards/ploopyco/trackball_nano/keymaps/maddie/keymap.c
index 14a7804cc2..5e9b3e8e19 100644
--- a/keyboards/ploopyco/trackball_nano/keymaps/maddie/keymap.c
+++ b/keyboards/ploopyco/trackball_nano/keymaps/maddie/keymap.c
@@ -27,6 +27,10 @@
bool scroll_enabled = false;
bool lock_state = false;
+// State
+static int8_t delta_x = 0;
+static int8_t delta_y = 0;
+
// Dummy
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {{{ KC_NO }}};