summaryrefslogtreecommitdiff
path: root/keyboards
diff options
context:
space:
mode:
authorQMK Bot <hello@qmk.fm>2022-04-18 09:12:03 +0000
committerQMK Bot <hello@qmk.fm>2022-04-18 09:12:03 +0000
commit5fc8f8488f0f19ce519c4c5e0639ccc06873f786 (patch)
tree22af1e346319cd96d3151fb3d1480dfbe0a1dba7 /keyboards
parent9bd8d088343440c74694d8a8dcd10c5651148081 (diff)
parent0d67eec5e23cf5ffb95ad6b72199a79ef23a6132 (diff)
Merge remote-tracking branch 'origin/master' into develop
Diffstat (limited to 'keyboards')
-rw-r--r--keyboards/ploopyco/trackball_mini/trackball_mini.c13
1 files changed, 10 insertions, 3 deletions
diff --git a/keyboards/ploopyco/trackball_mini/trackball_mini.c b/keyboards/ploopyco/trackball_mini/trackball_mini.c
index 2b511c4eab..e4b4a47c2b 100644
--- a/keyboards/ploopyco/trackball_mini/trackball_mini.c
+++ b/keyboards/ploopyco/trackball_mini/trackball_mini.c
@@ -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