logo

qmk_firmware

custom branch of QMK firmware git clone https://anongit.hacktivis.me/git/qmk_firmware.git

config.h (896B)


  1. // Copyright 2022 Michael McCoyd (@mmccoyd)
  2. // SPDX-License-Identifier: GPL-2.0-or-later
  3. #pragma once
  4. /* Split */
  5. #define SPLIT_HAND_MATRIX_GRID B5, F6
  6. #define SPLIT_HAND_MATRIX_GRID_LOW_IS_LEFT
  7. #define MATRIX_MASKED
  8. /* Haptic hardware */
  9. // The Pimoroni is the likely hardware, for which these settings work
  10. #define DRV2605L_FB_ERM_LRA 1
  11. #define DRV2605L_FB_BRAKEFACTOR 3 /* 1x:0, 2x:1, 3x:2, 4x:3, 6:4, 8:5, 16:6, Disable:7 */
  12. #define DRV2605L_FB_LOOPGAIN 1 /* For Low:0, Medium:1, High:2, Very High:3 */
  13. /* Please refer to your datasheet for optimal setting for your specific motor.*/
  14. #define DRV2605L_RATED_VOLTAGE 2
  15. #define DRV2605L_V_PEAK 2.8
  16. #define DRV2605L_V_RMS 2.0
  17. #define DRV2605L_F_LRA 205 /* resonance freq */
  18. /* Haptic waveforms */
  19. // Two mild waveforms
  20. #define DRV2605L_GREETING DRV2605L_EFFECT_750_MS_ALERT_100
  21. #define DRV2605L_DEFAULT_MODE DRV2605L_EFFECT_SHARP_TICK_3_60