diff options
author | Alabastard-64 <[email protected]> | 2022-01-11 15:33:13 -0700 |
---|---|---|
committer | GitHub <[email protected]> | 2022-01-11 14:33:13 -0800 |
commit | 2842ab405212aa7edca05eccc8ba892cd6cf54a4 (patch) | |
tree | f36962feb4057eb403f1f158f90ffd5b1ca57812 /drivers/sensors/pmw3360.h | |
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 <[email protected]>
Diffstat (limited to 'drivers/sensors/pmw3360.h')
-rw-r--r-- | drivers/sensors/pmw3360.h | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/drivers/sensors/pmw3360.h b/drivers/sensors/pmw3360.h index b46fc9056e..4e17aa0c46 100644 --- a/drivers/sensors/pmw3360.h +++ b/drivers/sensors/pmw3360.h @@ -56,17 +56,6 @@ # error "No chip select pin defined -- missing PMW3360_CS_PIN" #endif -/* -The pmw33660 and pmw3389 use the same registers and timing and such. -The only differences between the two is the firmware used, and the -range for the DPI. So add a semi-secret hack to allow use of the -pmw3389's firmware blob. Also, can set the max cpi range too. -This should work for the 3390 and 3391 too, in theory. -*/ -#ifndef PMW3360_FIRMWARE_H -# define PMW3360_FIRMWARE_H "pmw3360_firmware.h" -#endif - typedef struct { int8_t motion; bool isMotion; // True if a motion is detected. |