Ploopy Trackball Mini: only define DPI options as needed (#16160)

master
alaviss 2022-04-18 10:11:56 +01:00 committed by GitHub
parent 8826a1dea5
commit 0d67eec5e2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 10 additions and 3 deletions

View File

@ -37,9 +37,16 @@
# define OPT_SCALE 1 // Multiplier for wheel # define OPT_SCALE 1 // Multiplier for wheel
#endif #endif
#define PLOOPY_DPI_OPTIONS \ #ifndef PLOOPY_DPI_OPTIONS
{ 375, 750, 1375 } # define PLOOPY_DPI_OPTIONS \
#define PLOOPY_DPI_DEFAULT 2 { 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