Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DRV2605L Continuous Haptic Feedback Support (#6461) #173

Merged
merged 1 commit into from
Nov 4, 2019

Conversation

drashna
Copy link
Collaborator

@drashna drashna commented Oct 5, 2019

Updates the Haptic Feedback feature to have a continuous mode.

Mostly to keep in lockstep.

* provide means to turn on RTP mode and set the amplitude

* new keycode HPT_CONT to turn RTP off/on

* introduce new keycodes HPT_CONI, and HPT_COND for Haptic Continuous Increase and Decrease

* support for continuous mode amplitude increase and decrease

* code cleanup

* update docs to reference new keycodes and functionality

* don't touch the keymaps

* add function prototypes

* add proper guards

* cleanup guards

* remove extra reserved
@drashna drashna added the enhancement New feature or request label Oct 5, 2019
@drashna drashna requested a review from fdidron October 5, 2019 03:38
@fdidron fdidron merged commit 42f70cd into staging Nov 4, 2019
@fdidron fdidron deleted the feature/haptic_continuous branch November 4, 2019 07:48
drashna added a commit that referenced this pull request Jan 2, 2020
fdidron added a commit that referenced this pull request Jan 6, 2020
* clean up quantum.c (qmk#7485)

* idea

* progress

* more stuff

* wip

* wip

* last couple of keycodes you can move safely

* Update quantum/quantum.c

Co-Authored-By: fauxpark <[email protected]>

* Put back RGB_MODE_BREATHE

* Compile out some keycode processing when features are disabled (qmk#7506)

* Add shift-to-invert to remaining directional RGB_* keycode pairs (qmk#7484)

* Add shift-to-invert to remaining directional RGB_* keycode pairs

RGB_MODE_FORWARD / RGB_MODE_REVERSE invert their functions when shift is held.
This change adds the same capabilities to the remaining directional RGB_*
keycode pairs.  This improves consistency and provides full RGB control in a
keymap containing only one keycode from each pair.

* remove redundant variable

* fix typo

* Fix more typos

Flyspell is on now I swear!

* Relocate magic keycode processing (qmk#7512)

* Move magic keycode processing to own file

* Save some bytes

* Update comments

* Update define to one thats not already used...

* Fix audio

* Fix breathing toggle when rgb is disabled (qmk#7550)

* Ifdef MAGIC_EE_HANDS until #178 drops

revert this commit once it does

* Add short aliases for Magic keycodes (qmk#7541)

* Add short alias for `MAGIC_TOGGLE_NKRO`

* Add aliases for the other Bootmagic keycodes

* Replace long form in default keymaps

* Fix FORCE_NKRO handling (qmk#7601)

* Add until #173 drops

* Relocate RGB keycode processing (qmk#7508)

* Move rgb keycode logic to process_keycode

* Fixes for rgb matrix

* Fixes for mxss

* Fix inc/dec logic, add comments

* Fix return RAINBOW_SWIRL logic

* stop external use of rgb helper functions

* merge fix

* Fix 'defined but not used' when all animations are disabled

Co-authored-by: Yan-Fa Li <[email protected]>
Co-authored-by: Joel Challis <[email protected]>
Co-authored-by: Manna Harbour <[email protected]>
Co-authored-by: fauxpark <[email protected]>
Co-authored-by: Florian Didron <[email protected]>
fdidron added a commit that referenced this pull request Jan 8, 2020
* clean up quantum.c (qmk#7485)

* idea

* progress

* more stuff

* wip

* wip

* last couple of keycodes you can move safely

* Update quantum/quantum.c

Co-Authored-By: fauxpark <[email protected]>

* Put back RGB_MODE_BREATHE

* Compile out some keycode processing when features are disabled (qmk#7506)

* Add shift-to-invert to remaining directional RGB_* keycode pairs (qmk#7484)

* Add shift-to-invert to remaining directional RGB_* keycode pairs

RGB_MODE_FORWARD / RGB_MODE_REVERSE invert their functions when shift is held.
This change adds the same capabilities to the remaining directional RGB_*
keycode pairs.  This improves consistency and provides full RGB control in a
keymap containing only one keycode from each pair.

* remove redundant variable

* fix typo

* Fix more typos

Flyspell is on now I swear!

* Relocate magic keycode processing (qmk#7512)

* Move magic keycode processing to own file

* Save some bytes

* Update comments

* Update define to one thats not already used...

* Fix audio

* Fix breathing toggle when rgb is disabled (qmk#7550)

* Ifdef MAGIC_EE_HANDS until #178 drops

revert this commit once it does

* Add short aliases for Magic keycodes (qmk#7541)

* Add short alias for `MAGIC_TOGGLE_NKRO`

* Add aliases for the other Bootmagic keycodes

* Replace long form in default keymaps

* Fix FORCE_NKRO handling (qmk#7601)

* Add until #173 drops

* Relocate RGB keycode processing (qmk#7508)

* Move rgb keycode logic to process_keycode

* Fixes for rgb matrix

* Fixes for mxss

* Fix inc/dec logic, add comments

* Fix return RAINBOW_SWIRL logic

* stop external use of rgb helper functions

* merge fix

* Fix 'defined but not used' when all animations are disabled

Co-authored-by: Yan-Fa Li <[email protected]>
Co-authored-by: Joel Challis <[email protected]>
Co-authored-by: Manna Harbour <[email protected]>
Co-authored-by: fauxpark <[email protected]>
Co-authored-by: Florian Didron <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants