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.

66 lines
2.0 KiB

  1. /* Copyright 2020 null-ll
  2. * Copyright 2021 Jels, Josh Johnson
  3. *
  4. * This program is free software: you can redistribute it and/or modify
  5. * it under the terms of the GNU General Public License as published by
  6. * the Free Software Foundation, either version 2 of the License, or
  7. * (at your option) any later version.
  8. *
  9. * This program is distributed in the hope that it will be useful,
  10. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  12. * GNU General Public License for more details.
  13. *
  14. * You should have received a copy of the GNU General Public License
  15. * along with this program. If not, see <http://www.gnu.org/licenses/>.
  16. */
  17. #pragma once
  18. #include "config_common.h"
  19. #define VENDOR_ID 0x6A6A
  20. #define PRODUCT_ID 0x000C
  21. #define DEVICE_VER 0x0001
  22. #define MANUFACTURER CustomKBD
  23. #define PRODUCT Chalice
  24. /* key matrix size */
  25. #define MATRIX_ROWS 10
  26. #define MATRIX_COLS 7
  27. #define MATRIX_ROW_PINS {F4, D1, D0, F5, D4, F6, B4, B5, B2, B6}
  28. #define MATRIX_COL_PINS {F7, C6, B1, D2, E6, B3, D7}
  29. /* COL2ROW, ROW2COL*/
  30. #define DIODE_DIRECTION COL2ROW
  31. #define RGB_DI_PIN D3
  32. #ifdef RGBLIGHT_ENABLE
  33. #define RGBLED_NUM 14
  34. #define RGBLIGHT_SLEEP
  35. #define RGBLIGHT_EFFECT_BREATHING
  36. #define RGBLIGHT_EFFECT_RAINBOW_MOOD
  37. #define RGBLIGHT_EFFECT_RAINBOW_SWIRL
  38. #define RGBLIGHT_EFFECT_SNAKE
  39. #define RGBLIGHT_EFFECT_KNIGHT
  40. #define RGBLIGHT_EFFECT_CHRISTMAS
  41. #define RGBLIGHT_EFFECT_STATIC_GRADIENT
  42. #define RGBLIGHT_EFFECT_RGB_TEST
  43. #define RGBLIGHT_EFFECT_ALTERNATING
  44. #define RGBLIGHT_EFFECT_TWINKLE
  45. #endif
  46. /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
  47. #define DEBOUNCE 5
  48. /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
  49. #define LOCKING_SUPPORT_ENABLE
  50. /* Locking resynchronize hack */
  51. #define LOCKING_RESYNC_ENABLE
  52. /* Bootmagic Lite key configuration */
  53. #define BOOTMAGIC_LITE_ROW 0
  54. #define BOOTMAGIC_LITE_COLUMN 0