diff options
| author | Ryan <fauxpark@gmail.com> | 2023-08-04 10:16:16 +1000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-08-04 01:16:16 +0100 |
| commit | 0b802defd4ad81f38bdd3ae0192e2a834f7d99be (patch) | |
| tree | f1577113e925225a25a89e2b02fbea74c65a0322 /layouts | |
| parent | c9fa2006d95a68cf8da85e374b205c670260d78b (diff) | |
haptic: further naming cleanups (#21682)
Diffstat (limited to 'layouts')
| -rw-r--r-- | layouts/community/ortho_4x12/drashna/config.h | 58 |
1 files changed, 29 insertions, 29 deletions
diff --git a/layouts/community/ortho_4x12/drashna/config.h b/layouts/community/ortho_4x12/drashna/config.h index 071f7cb55b..7db0afa40f 100644 --- a/layouts/community/ortho_4x12/drashna/config.h +++ b/layouts/community/ortho_4x12/drashna/config.h | |||
| @@ -105,49 +105,49 @@ | |||
| 105 | /* override number of MIDI tone keycodes (each octave adds 12 keycodes and allocates 12 bytes) */ | 105 | /* override number of MIDI tone keycodes (each octave adds 12 keycodes and allocates 12 bytes) */ |
| 106 | //#define MIDI_TONE_KEYCODE_OCTAVES 2 | 106 | //#define MIDI_TONE_KEYCODE_OCTAVES 2 |
| 107 | 107 | ||
| 108 | #define FB_ERM_LRA 1 /* For ERM:0 or LRA:1*/ | 108 | #define DRV2605L_FB_ERM_LRA 1 /* For ERM:0 or LRA:1*/ |
| 109 | #define FB_BRAKEFACTOR 6 /* For 1x:0, 2x:1, 3x:2, 4x:3, 6x:4, 8x:5, 16x:6, Disable Braking:7 */ | 109 | #define DRV2605L_FB_BRAKEFACTOR 6 /* For 1x:0, 2x:1, 3x:2, 4x:3, 6x:4, 8x:5, 16x:6, Disable Braking:7 */ |
| 110 | #define FB_LOOPGAIN 1 /* For Low:0, Medium:1, High:2, Very High:3 */ | 110 | #define DRV2605L_FB_LOOPGAIN 1 /* For Low:0, Medium:1, High:2, Very High:3 */ |
| 111 | 111 | ||
| 112 | /* default 3V ERM vibration motor voltage and library*/ | 112 | /* default 3V ERM vibration motor voltage and library*/ |
| 113 | #if FB_ERM_LRA == 0 | 113 | #if DRV2605L_FB_ERM_LRA == 0 |
| 114 | # define RATED_VOLTAGE 3 | 114 | # define DRV2605L_RATED_VOLTAGE 3 |
| 115 | # define V_RMS 2.3 | 115 | # define DRV2605L_V_RMS 2.3 |
| 116 | # define V_PEAK 3.30 | 116 | # define DRV2605L_V_PEAK 3.30 |
| 117 | /* Library Selection */ | 117 | /* Library Selection */ |
| 118 | # define DRV2605L_LIBRARY 4 /* For Empty:0' TS2200 library A to D:1-5, LRA Library: 6 */ | 118 | # define DRV2605L_LIBRARY 4 /* For Empty:0' TS2200 library A to D:1-5, LRA Library: 6 */ |
| 119 | 119 | ||
| 120 | /* default 2V LRA voltage and library */ | 120 | /* default 2V LRA voltage and library */ |
| 121 | #elif FB_ERM_LRA == 1 | 121 | #elif DRV2605L_FB_ERM_LRA == 1 |
| 122 | # define RATED_VOLTAGE 2 | 122 | # define DRV2605L_RATED_VOLTAGE 2 |
| 123 | # define V_RMS 2.0 | 123 | # define DRV2605L_V_RMS 2.0 |
| 124 | # define V_PEAK 2.85 | 124 | # define DRV2605L_V_PEAK 2.85 |
| 125 | # define F_LRA 200 | 125 | # define DRV2605L_F_LRA 200 |
| 126 | /* Library Selection */ | 126 | /* Library Selection */ |
| 127 | # define DRV2605L_LIBRARY 6 /* For Empty:0' TS2200 library A to D:1-5, LRA Library: 6 */ | 127 | # define DRV2605L_LIBRARY 6 /* For Empty:0' TS2200 library A to D:1-5, LRA Library: 6 */ |
| 128 | 128 | ||
| 129 | #endif | 129 | #endif |
| 130 | 130 | ||
| 131 | /* Control 1 register settings */ | 131 | /* Control 1 register settings */ |
| 132 | #define DRIVE_TIME 25 | 132 | #define DRV2605L_DRIVE_TIME 25 |
| 133 | #define AC_COUPLE 0 | 133 | #define DRV2605L_AC_COUPLE 0 |
| 134 | #define STARTUP_BOOST 1 | 134 | #define DRV2605L_STARTUP_BOOST 1 |
| 135 | 135 | ||
| 136 | /* Control 2 Settings */ | 136 | /* Control 2 Settings */ |
| 137 | #define BIDIR_INPUT 1 | 137 | #define DRV2605L_BIDIR_INPUT 1 |
| 138 | #define BRAKE_STAB 1 /* Loopgain is reduced when braking is almost complete to improve stability */ | 138 | #define DRV2605L_BRAKE_STAB 1 /* Loopgain is reduced when braking is almost complete to improve stability */ |
| 139 | #define SAMPLE_TIME 3 | 139 | #define DRV2605L_SAMPLE_TIME 3 |
| 140 | #define BLANKING_TIME 1 | 140 | #define DRV2605L_BLANKING_TIME 1 |
| 141 | #define IDISS_TIME 1 | 141 | #define DRV2605L_IDISS_TIME 1 |
| 142 | 142 | ||
| 143 | /* Control 3 settings */ | 143 | /* Control 3 settings */ |
| 144 | #define NG_THRESH 2 | 144 | #define DRV2605L_NG_THRESH 2 |
| 145 | #define ERM_OPEN_LOOP 1 | 145 | #define DRV2605L_ERM_OPEN_LOOP 1 |
| 146 | #define SUPPLY_COMP_DIS 0 | 146 | #define DRV2605L_SUPPLY_COMP_DIS 0 |
| 147 | #define DATA_FORMAT_RTO 0 | 147 | #define DRV2605L_DATA_FORMAT_RTO 0 |
| 148 | #define LRA_DRIVE_MODE 0 | 148 | #define DRV2605L_LRA_DRIVE_MODE 0 |
| 149 | #define N_PWM_ANALOG 0 | 149 | #define DRV2605L_N_PWM_ANALOG 0 |
| 150 | #define LRA_OPEN_LOOP 0 | 150 | #define DRV2605L_LRA_OPEN_LOOP 0 |
| 151 | /* Control 4 settings */ | 151 | /* Control 4 settings */ |
| 152 | #define ZC_DET_TIME 0 | 152 | #define DRV2605L_ZC_DET_TIME 0 |
| 153 | #define AUTO_CAL_TIME 3 | 153 | #define DRV2605L_AUTO_CAL_TIME 3 |
