Procházet zdrojové kódy

Merge remote-tracking branch 'origin/master' into develop

QMK Bot před 3 roky
rodič
revize
5fc8f8488f
1 změnil soubory, kde provedl 10 přidání a 3 odebrání
  1. 10 3
      keyboards/ploopyco/trackball_mini/trackball_mini.c

+ 10 - 3
keyboards/ploopyco/trackball_mini/trackball_mini.c

@@ -37,9 +37,16 @@
 #    define OPT_SCALE 1  // Multiplier for wheel
 #    define OPT_SCALE 1  // Multiplier for wheel
 #endif
 #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
 #ifndef PLOOPY_DRAGSCROLL_DPI
 #    define PLOOPY_DRAGSCROLL_DPI 375  // Fixed-DPI Drag Scroll
 #    define PLOOPY_DRAGSCROLL_DPI 375  // Fixed-DPI Drag Scroll