summaryrefslogtreecommitdiff
path: root/keyboards
diff options
context:
space:
mode:
authorAidan Gauland <aidalgol@users.noreply.github.com>2022-07-23 01:22:56 +1200
committerGitHub <noreply@github.com>2022-07-22 14:22:56 +0100
commitde10784799885e66260ced7b6fa2cf78b9b7e24f (patch)
tree358a6a9bf1b12096d8f27495a2b15935bb4d0922 /keyboards
parentb9c7d4c48dc0438e9a904d0c41fa567a67ea610d (diff)
Fix compilation error in Ploopy Nano maddie keymap (#17733)
Diffstat (limited to 'keyboards')
-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 }}};