You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

71 lines
2.1 KiB

  1. /*
  2. Copyright 2020 rate
  3. This program is free software: you can redistribute it and/or modify
  4. it under the terms of the GNU General Public License as published by
  5. the Free Software Foundation, either version 2 of the License, or
  6. (at your option) any later version.
  7. This program is distributed in the hope that it will be useful,
  8. but WITHOUT ANY WARRANTY; without even the implied warranty of
  9. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  10. GNU General Public License for more details.
  11. You should have received a copy of the GNU General Public License
  12. along with this program. If not, see <http://www.gnu.org/licenses/>.
  13. */
  14. #pragma once
  15. /*
  16. * Keyboard Matrix Assignments
  17. *
  18. * Change this to how you wired your keyboard
  19. * COLS: AVR pins used for columns, left to right
  20. * ROWS: AVR pins used for rows, top to bottom
  21. * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode)
  22. * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode)
  23. *
  24. */
  25. #define MATRIX_ROW_PINS { B5, B4, E6, D7, C6, D4 }
  26. #define MATRIX_COL_PINS { B6, B2, B3, B1, F7, F6, F5, F4, D3}
  27. #define UNUSED_PINS
  28. #define USE_I2C
  29. /* COL2ROW, ROW2COL */
  30. #define DIODE_DIRECTION COL2ROW
  31. /* Split hand configration */
  32. #define SPLIT_HAND_MATRIX_GRID D4,D3
  33. /* ws2812 RGB LED */
  34. #define RGB_DI_PIN D2
  35. #define RGBLIGHT_SPLIT
  36. #define RGBLED_SPLIT { 38, 46 }
  37. #define RGBLED_NUM 84
  38. #define RGBLIGHT_LIMIT_VAL 195
  39. #define RGBLIGHT_LAYERS
  40. #define RGBLIGHT_HUE_STEP 10
  41. #define RGBLIGHT_SAT_STEP 17
  42. #if defined(RGBLIGHT_ENABLE) && !defined(IOS_DEVICE_ENABLE)
  43. #define USB_MAX_POWER_CONSUMPTION 400
  44. #else
  45. #define USB_MAX_POWER_CONSUMPTION 100
  46. #endif
  47. /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
  48. #define DEBOUNCE 5
  49. /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
  50. #define LOCKING_SUPPORT_ENABLE
  51. /* Locking resynchronize hack */
  52. #define LOCKING_RESYNC_ENABLE
  53. /* nKey Rollover */
  54. #define FORCE_NKRO
  55. /* disable these deprecated features by default */
  56. #define NO_ACTION_MACRO
  57. #define NO_ACTION_FUNCTION