45 Commits (36e26e5cf8308f7c0b24ab41c4e5e011a77e1877)

Author SHA1 Message Date
Alex Miller 40380c2684
Add additional options for Drag Scroll config (#20523) 3 years ago
Pablo Martínez 67dae1222f
[Documentation] Pointing device minor rewrite (#19641) 3 years ago
Pablo Martínez d9cba6e978
Add `*_RIGHT` configuration for PMW33XX driver (#19243) 3 years ago
Pablo Martínez fe652e6247
Fix references to `mouse_report_t` (which doesnt exist) (#19107) 3 years ago
Thomas 94d5fe6f90
Allow Active High for Pointing Device Motion Pin (#18404)
Needed by the Cirque Trackpad for motion detection
3 years ago
Alabastard-64 7c1797f52f
[Core] Pointing Device Automatic Mouse Layer (#17962)
Co-authored-by: Drashna Jaelre <drashna@live.com>
Co-authored-by: Stefan Kerkmann <karlk90@pm.me>
3 years ago
Thomas 55c637f28f
[Docs] Fix docs regarding cirque pinnacle attenuation (#18279) 3 years ago
Stefan Kerkmann e99ec28f5f
[Core] Introduce pointing device specific debug messages (#17663) 3 years ago
Drashna Jaelre ccdba43e59
Create generic Pointing Device Pin defines (#17776) 3 years ago
Daniel Kao b03a7cef75
Fix POINTING_DEVICE_GESTURES_SCROLL_ENABLE typo (#17850)
* Fix typo for POINTING_DEVICE_GESTURES_SCROLL_ENABLE

Follow the name written in documentation which follows
POINTING_DEVICE_GESTURES_CURSOR_GLIDE_ENABLE

* Reword the blurb about POINTING_DEVICE_GESTURES_CURSOR_GLIDE_ENABLE in docs
3 years ago
Drzony 0b726a437b
Implement relative mode for Cirque trackpad (#17760) 3 years ago
Drashna Jaelre 5d898a3d34
[Docs] Updates to Pointing Device Docs (#17777) 3 years ago
Drashna Jaelre 12eb6444c6
Add support for PAW3204 Optical Sensor (#17669)
Co-authored-by: gompa <gompa@h-bomb.nl>
Co-authored-by: Stefan Kerkmann <karlk90@pm.me>
3 years ago
Stefan Kerkmann a304a9b51e
Use correct angle tune range of +/-127 on PMW33XX (#17708)
...partially reverts 580bcff4f6 as the
datasheet doesn't claim that the angle tuning as limited to +/- 30
degrees.
3 years ago
Stefan Kerkmann 580bcff4f6
Use correct angle tune range of +/-30 on PMW33XX (#17693)
Co-authored-by: Daniel Kao <daniel.m.kao@gmail.com>

Co-authored-by: Daniel Kao <daniel.m.kao@gmail.com>
3 years ago
Stefan Kerkmann 3c58f98929
[Core] PMW33XX drivers overhaul (#17613)
* PMW33XX drivers overhaul

This combines the PMW3389 and PM3360 drivers as they only differ in the
firmware blobs and CPI get and set functions. The following changes have
been made:

* PMW3389 now gets the same multi-sensor feature that is already available on the
  PMW3360.

* Introduced a shared pmw33xx_report_t struct is now directly readable via SPI
  transactions instead of individual byte-sized reads, saving multiple
  copies and bitshift operations.

* pmw33(89/60)_get_report functions had unreachable branches in their motion
  detection logic these have been simplied as much as possible.

* The fast firmware upload option has been removed as this becomes obsolete by
  the newly introduced polled waiting functions for ChibiOS polled waiting

* PMW33(60/89)_SPI_LSBFIRST and PMW33(60/89)_SPI_MODE config options
  have been removed as they don't need to be configurable.

* All PMW3389 and PMW3360 defines have been unified to a PMW33XX prefix
  to reduce code duplication and make the defines interchangeable

* Adjust keyboards to PMW33XX naming scheme
3 years ago
Daniel Kao 5db705d054
Cirque trackpad features: circular scroll, inertial cursor (#17482) 3 years ago
Thomas Kriechbaumer 01bc974365
improvements for Cirque Pinnacle trackpads (#17091) 4 years ago
Kyle McCreery eac0f6d4c9
Cirque Attenuation Setting (#17342) 4 years ago
Drashna Jaelre 0ab51ee29d
Add support for large Mouse Reports (#16371)
Co-authored-by: Sergey Vlasov <sigprof@gmail.com>
Co-authored-by: Ryan <fauxpark@gmail.com>
4 years ago
uqs 690dc4bdaf
Add support for multiple sensors to pmw3360 (#15996) 4 years ago
Thomas Kriechbaumer 86b123141b
docs: fix code sample (#16623) 4 years ago
ZiTe 0880850b15
[Bug] Rename has_mouse_report_changed parameters (#16417)
Fixes compilation issues when bluetooth is enabled, due to issues 
with cpp used by bluetooth code. 

Co-authored-by: Ryan <fauxpark@gmail.com>
Co-authored-by: Drashna Jaelre <drashna@live.com>
4 years ago
Dasky b1debfb12f
Remove default pointing device driver. (#16190)
* remove custom as default

* add missing pointing_device_driver to rules.mk

* Update docs
4 years ago
Dasky 7b31fc54df
Enable a default task throttle for split pointing. (#15925) 4 years ago
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
Drashna Jael're ac466c1571
Merge remote-tracking branch 'origin/master' into develop 4 years ago
Drashna Jaelre 2669b0bee8
[Docs] Add drag scrolling example to Pointing device docs page (#15715)
Co-authored-by: Dasky <32983009+daskygit@users.noreply.github.com>
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
uqs 859e2aa86b
Fix some typos, especially the sensor name. (#15557) 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 56e3f06a26
Rework and expand Pointing Device support (#14343)
Co-authored-by: Dasky <32983009+daskygit@users.noreply.github.com>
4 years ago
Ryan b56282756b
[Docs] Clean up some code block languages (#14434) 4 years ago
QMK Bot 711388d3e3 Merge remote-tracking branch 'origin/master' into develop 5 years ago
Drashna Jaelre 780ca5565d
Improve Pointing Device report sending (#11064)
* Improve Pointing Device report sending

* Hide old report behind preprocessors too

* put host_mouse_send() in curly brackets

* Remove POINTING_DEVICE_ALWAYS_SEND_REPORT functionality

* Fix typo

* fix function ref in docs

Co-authored-by: James Young <18669334+noroadsleft@users.noreply.github.com>

Co-authored-by: James Young <18669334+noroadsleft@users.noreply.github.com>
5 years ago
Drashna Jaelre 99f3df2893
Add support for 8 buttons to mouse report (#10807)
* Add support for 8 buttons to mouse report

This includes support for 8 buttons in mousekeys.  However, this does move the keys around due to the fact that the last mousekey keycode is already 0xFF, so any past that would not work with register_code and the like, breaking them for tap hold keys, encoders, and other features.

* Update mouse key docs

* Add changes based on feedback

* Fix VUSB report size comment

Because drashna red gud

* Fix typo in action.c

* Fix IS_MOUSE_BUTTON check

* Change start range for mousekeys so that the end is 0xFF properly

* condense mousekeys check
5 years ago
Drashna Jaelre 573d1fbb92
Include `pointing_device_send` in docs (#9185) 6 years ago
Takeshi ISHII f66680d233
Fixed the indentation of the sample code in feature_pointing_device docs (#9177)
* Fixed the indentation of the sample code in docs/feature_pointing_device.md sample.

* Update docs/feature_pointing_device.md

Co-authored-by: Joel Challis <git@zvecr.com>

Co-authored-by: Joel Challis <git@zvecr.com>
6 years ago
James Young b272c035ba
[Docs] Random Fixes (#8340)
* fix CLI section links in the Summary

* fix heading in Pointing Device doc

* fix headings in PS/2 Mouse Support doc

* add explicit section ids to I2C Master Driver doc

* reformat GPIO Controls table

Much like the I2C Master Driver doc, I found this a bit less than ideal to read. (The table was actually wider than the space available for it.)

Reformatted so each GPIO function is an H3 heading, followed by a paragraph and a table of each architecture's old-style function.

* migrate changes from I2C Master Driver doc to Japanese translation

* add explicit anchors to I2C Master Driver docs

* fix code block language markers

The language markers are case-sensitive; using the wrong case means the syntax highlighting doesn't work.

Good: ```c
Bad: ```C

* restore Japanese I2C Master Driver doc to current master

Can't update the internal tracking references accurately until the changes to the English doc are committed to master.

* add explicit anchors to edited files

* change ChibiOS/ARM to ARM/ChibiOS

Because ARM/ATSAM is also a thing that exists.

* fix code block language markers again

Used the wrong markers in a few spots. Also these are apparently always supposed to be lowercase.

* add section anchors to cli.md

* restore table formatting on GPIO Control doc

* remove changes to _summary.md
6 years ago
fauxpark af37bb2f78 Fix some of the more obvious typos 8 years ago
fauxpark 7b0356d1d4 Convert all headings to Title Case 8 years ago
Snipeye ee13228486 Generic Pointing Device (#1767) 8 years ago