Fix multiple definition errors for trackball "boards" with no keys (#16350)
This commit is contained in:
parent
485cf920b4
commit
ac8bee7091
7 changed files with 9 additions and 15 deletions
|
@ -20,4 +20,5 @@
|
|||
|
||||
// safe range starts at `PLOOPY_SAFE_RANGE` instead.
|
||||
|
||||
// placeholder file so it will compile
|
||||
// Dummy
|
||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {{ KC_NO }};
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue