From ac8bee7091d5a5fc55afb7054562c0d23f932880 Mon Sep 17 00:00:00 2001 From: Ryan Date: Tue, 15 Feb 2022 12:15:53 +1100 Subject: Fix multiple definition errors for trackball "boards" with no keys (#16350) --- keyboards/ploopyco/trackball_nano/keymaps/maddie/keymap.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'keyboards/ploopyco/trackball_nano/keymaps/maddie') diff --git a/keyboards/ploopyco/trackball_nano/keymaps/maddie/keymap.c b/keyboards/ploopyco/trackball_nano/keymaps/maddie/keymap.c index 9e33db3783..66d5441abd 100644 --- a/keyboards/ploopyco/trackball_nano/keymaps/maddie/keymap.c +++ b/keyboards/ploopyco/trackball_nano/keymaps/maddie/keymap.c @@ -24,6 +24,9 @@ uint8_t lock_state = 0; int8_t delta_x = 0; int8_t delta_y = 0; +// Dummy +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {{ KC_NO }}; + void process_mouse_user(report_mouse_t *mouse_report, int8_t x, int8_t y) { if (scroll_enabled) { delta_x += x; -- cgit v1.2.3