diff options
author | Alabastard-64 <96358682+Alabastard-64@users.noreply.github.com> | 2022-01-11 15:33:13 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-11 14:33:13 -0800 |
commit | 2842ab405212aa7edca05eccc8ba892cd6cf54a4 (patch) | |
tree | f36962feb4057eb403f1f158f90ffd5b1ca57812 /drivers/sensors/pmw3360.c | |
parent | a7eb27b86775b96f14c4207fe25f74f0ac04220d (diff) | |
download | qmk_firmware-2842ab405212aa7edca05eccc8ba892cd6cf54a4.tar.gz qmk_firmware-2842ab405212aa7edca05eccc8ba892cd6cf54a4.zip |
Add PMW3389 optical sensor Support (Updated) (#15740)
Co-authored-by: Drashna Jaelre <drashna@live.com>
Diffstat (limited to 'drivers/sensors/pmw3360.c')
-rw-r--r-- | drivers/sensors/pmw3360.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/sensors/pmw3360.c b/drivers/sensors/pmw3360.c index 4712f6015c..0dac600cc2 100644 --- a/drivers/sensors/pmw3360.c +++ b/drivers/sensors/pmw3360.c @@ -21,7 +21,7 @@ #include "wait.h" #include "debug.h" #include "print.h" -#include PMW3360_FIRMWARE_H +#include "pmw3360_firmware.h" // Registers // clang-format off @@ -79,9 +79,6 @@ // clang-format on // limits to 0--119, resulting in a CPI range of 100 -- 12000 (as only steps of 100 are possible). -// Note that for the PMW3389DM chip, the step size is 50 and supported range is -// up to 16000. The datasheet does not indicate the minimum CPI though, neither -// whether this uses 2 bytes (as 16000/50 == 320) #ifndef MAX_CPI # define MAX_CPI 0x77 #endif |