27 Commits (71c0b97bced7722abaa0adefd57066cc065538b5)

Author SHA1 Message Date
Drashna Jaelre 6ebb44f17e
[Bug][Core] Fix optical sensor firmware upload (#15919) 4 years ago
Alabastard-64 a8482a4424
PMW3389 Revert Firmware load during Initilization (#15859) 4 years ago
Alabastard-64 2842ab4052
Add PMW3389 optical sensor Support (Updated) (#15740)
Co-authored-by: Drashna Jaelre <drashna@live.com>
4 years ago
Drashna Jaelre ec7c3ac12d
Optimize initialization of PMW3360 Sensor (#15821) 4 years ago
QMK Bot c32a329583
Format code according to conventions (#15705) 4 years ago
uqs 8b44eaa63e
Update pmw3360 comments to match the datasheet better, fix delays. (#15682) 4 years ago
QMK Bot cbb51eacb0 Merge remote-tracking branch 'origin/master' into develop 4 years ago
Dasky 3b4d5390f2
[Bug] Fix analog joystick to mouse compilation (#15677) 4 years ago
QMK Bot 25707cad5c
Format code according to conventions (#15604) 4 years ago
uqs d3952523fe
pwm3360 driver cleanup and diff reduction to adns9800 (#15559)
* Diff reduction between ADNS9800 and PMW3360 drivers.

They are very similar devices. This (somewhat) unreadable diff is
essentially a no-op, but it makes a `vimdiff` between the 2 drivers much
more readable.

* Cleanup pwm3360 driver some more.

Remove redundant calls to spi_start() and spi_stop(), as pmw3360_write()
will already call these.
4 years ago
Alabastard-64 f08824f6eb
Fix for SPI write timing in PMW3360 driver (#15519)
Timing does not match Pixart documentation for this sensor (may have been carried forward from adns9800).
Not aware of any issues coming from this currently.
It should only cause issues when writing to multiple registers in succession which currently only happens during initialization for the PMW3360.
This should prevent future issues with write operations if other features of the sensor are added.
4 years ago
Dasky 7f7364c559
[Core] Split support for pointing devices. (#15304)
* Draft implementation

* formatting

* fix combined buttons

* remove pimoroni throttle

* sync pointing on a throttle loop with checksum

* no longer used

* doh

Co-authored-by: Drashna Jaelre <drashna@live.com>

* switch pimoroni to a cpi equivalent

* add cpi support

* allow user modification of seperate mouse reports

* a little tidy up

* add *_RIGHT defines.

* docs

* doxygen comments

* basic changelog

* clean up pimoroni

* small doc fixes

* Update docs/feature_pointing_device.md

Co-authored-by: Drashna Jaelre <drashna@live.com>

* performance tweak if side has usb

* Don't run init funtions on wrong side

* renamed some variables for consistency

* fix pimoroni typos

* Clamp instead of OR

* Promote combined values to uint16_t

* Update pointing_device.c

Co-authored-by: Drashna Jaelre <drashna@live.com>
Co-authored-by: Nick Brassel <nick@tzarc.org>
4 years ago
QMK Bot b33ecce392 Merge remote-tracking branch 'origin/master' into develop 4 years ago
Drashna Jaelre aed64aaef4
[Core] Fix Sensor driver code (#15484) 4 years ago
Drashna Jael're f92d153532
Merge remote-tracking branch 'origin/master' into develop 4 years ago
Xelus22 b09c44ced7
[Core] Add configuration of PMW3360 lift off distance (#15424)
* sensor code add

* update documentation

* add default #define

* Update drivers/sensors/pmw3360.c

Co-authored-by: Drashna Jaelre <drashna@live.com>

Co-authored-by: Drashna Jaelre <drashna@live.com>
4 years ago
Drashna Jaelre 26febb7c24
Expand rotational range for PMW3360 Optical Sensor (#15431) 4 years ago
Drashna Jaelre 56e3f06a26
Rework and expand Pointing Device support (#14343)
Co-authored-by: Dasky <32983009+daskygit@users.noreply.github.com>
4 years ago
Joel Challis 92385e30cd
Manually format develop (#15003) 4 years ago
Ryan 6ee29d9aa6
Tidy up ADNS9800 and PMW3360 firmware blobs (#14936) 4 years ago
Drashna Jaelre e08d6a33fc
[Core] Fix copypasta issue with pmw3360 sensor config (#14106) 4 years ago
Drashna Jaelre da1c011afc
Improve pmw3360 sensor and make it more hardware agnostic (#14097) 4 years ago
Dasky 7f1c90b7a8
[Core] Speed up pimoroni trackball driver (#13823) 4 years ago
Drashna Jaelre 7ef4d0c886
Fix pmw3360 code to only output debug info if mouse debugging is enabled (#13993) 4 years ago
Dasky aeb252435d
[develop] Fix pimoroni trackball read address (#13810) 4 years ago
QMK Bot e28d7ab58c Merge remote-tracking branch 'origin/master' into develop 5 years ago
Drashna Jaelre 6901411bca
Move optical sensor code to drivers folder (#13044) 5 years ago