Skip to content

Commit

Permalink
Ploopy Trackball Mini: only define DPI options as needed (qmk#16160)
Browse files Browse the repository at this point in the history
  • Loading branch information
alaviss authored and zykrah committed Jul 2, 2022
1 parent 3eb4bbf commit d9d7399
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions keyboards/ploopyco/trackball_mini/trackball_mini.c
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,16 @@
# define OPT_SCALE 1 // Multiplier for wheel
#endif

#define PLOOPY_DPI_OPTIONS \
{ 375, 750, 1375 }
#define PLOOPY_DPI_DEFAULT 2
#ifndef PLOOPY_DPI_OPTIONS
# define PLOOPY_DPI_OPTIONS \
{ 375, 750, 1375 }
# ifndef PLOOPY_DPI_DEFAULT
# define PLOOPY_DPI_DEFAULT 1
# endif
#endif
#ifndef PLOOPY_DPI_DEFAULT
# define PLOOPY_DPI_DEFAULT 0
#endif

#ifndef PLOOPY_DRAGSCROLL_DPI
# define PLOOPY_DRAGSCROLL_DPI 375 // Fixed-DPI Drag Scroll
Expand Down

0 comments on commit d9d7399

Please sign in to comment.