diff options
| author | MechMerlin <30334081+mechmerlin@users.noreply.github.com> | 2019-09-19 09:42:33 -0700 |
|---|---|---|
| committer | Drashna Jaelre <drashna@live.com> | 2019-09-19 09:42:33 -0700 |
| commit | 911b8915cc89c040db3c6075a1a547003b0ab37f (patch) | |
| tree | fe7afcae351fd3a5e9bce4ea25ef406f6382f1d7 /docs | |
| parent | 7a5a2591ebc797d9670366a45396afed48c5fc6f (diff) | |
| download | qmk_firmware-911b8915cc89c040db3c6075a1a547003b0ab37f.tar.gz qmk_firmware-911b8915cc89c040db3c6075a1a547003b0ab37f.zip | |
DRV2605L Continuous Haptic Feedback Support (#6461)
* 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
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/feature_haptic_feedback.md | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/docs/feature_haptic_feedback.md b/docs/feature_haptic_feedback.md index 85fd43964..acd156a27 100644 --- a/docs/feature_haptic_feedback.md +++ b/docs/feature_haptic_feedback.md | |||
| @@ -29,6 +29,9 @@ Not all keycodes below will work depending on which haptic mechanism you have ch | |||
| 29 | |`HPT_BUZ` | Toggle solenoid buzz on/off | | 29 | |`HPT_BUZ` | Toggle solenoid buzz on/off | |
| 30 | |`HPT_MODI` | Go to next DRV2605L waveform | | 30 | |`HPT_MODI` | Go to next DRV2605L waveform | |
| 31 | |`HPT_MODD` | Go to previous DRV2605L waveform | | 31 | |`HPT_MODD` | Go to previous DRV2605L waveform | |
| 32 | |`HPT_CONT` | Toggle continuous haptic mode on/off | | ||
| 33 | |`HPT_CONI` | Increase DRV2605L continous haptic strength | | ||
| 34 | |`HPT_COND` | Decrease DRV2605L continous haptic strength | | ||
| 32 | |`HPT_DWLI` | Increase Solenoid dwell time | | 35 | |`HPT_DWLI` | Increase Solenoid dwell time | |
| 33 | |`HPT_DWLD` | Decrease Solenoid dwell time | | 36 | |`HPT_DWLD` | Decrease Solenoid dwell time | |
| 34 | 37 | ||
| @@ -145,3 +148,7 @@ If haptic feedback is enabled, the keyboard will vibrate to a specific sqeuence | |||
| 145 | #define DRV_MODE_DEFAULT *sequence name or number* | 148 | #define DRV_MODE_DEFAULT *sequence name or number* |
| 146 | ``` | 149 | ``` |
| 147 | This will set what sequence HPT_RST will set as the active mode. If not defined, mode will be set to 1 when HPT_RST is pressed. | 150 | This will set what sequence HPT_RST will set as the active mode. If not defined, mode will be set to 1 when HPT_RST is pressed. |
| 151 | |||
| 152 | ### DRV2605L Continuous Haptic Mode | ||
| 153 | |||
| 154 | This mode sets continuous haptic feedback with the option to increase or decrease strength. \ No newline at end of file | ||
