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.

77 lines
2.1 KiB

  1. /*
  2. Copyright 2021 Salicylic_Acid
  3. Copyright 2021 3araht
  4. Copyright 2022 jun10000
  5. This program is free software: you can redistribute it and/or modify
  6. it under the terms of the GNU General Public License as published by
  7. the Free Software Foundation, either version 2 of the License, or
  8. (at your option) any later version.
  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. You should have received a copy of the GNU General Public License
  14. along with this program. If not, see <http://www.gnu.org/licenses/>.
  15. */
  16. #pragma once
  17. /* key matrix size */
  18. #define MATRIX_ROWS 10
  19. #define MATRIX_COLS 8
  20. // wiring of each half
  21. #define MATRIX_ROW_PINS { D1, D0, D4, C6, D7 }
  22. #define MATRIX_COL_PINS { F4, F5, F6, F7, B1, B3, B2, E6 }
  23. /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
  24. #define LOCKING_SUPPORT_ENABLE
  25. /* Locking resynchronize hack */
  26. #define LOCKING_RESYNC_ENABLE
  27. #ifndef RGBLED_NUM
  28. #define RGBLED_NUM 69
  29. #define RGBLIGHT_SLEEP
  30. #endif
  31. #define RGBLIGHT_EFFECT_BREATHING
  32. #define RGBLIGHT_EFFECT_RAINBOW_MOOD
  33. #define RGBLIGHT_EFFECT_RAINBOW_SWIRL
  34. #define RGBLIGHT_EFFECT_SNAKE
  35. #define RGBLIGHT_EFFECT_KNIGHT
  36. #define RGBLIGHT_EFFECT_CHRISTMAS
  37. #define RGBLIGHT_EFFECT_STATIC_GRADIENT
  38. #define RGBLIGHT_EFFECT_RGB_TEST
  39. #define RGBLIGHT_EFFECT_ALTERNATING
  40. #define RGBLIGHT_EFFECT_TWINKLE
  41. #ifndef IOS_DEVICE_ENABLE
  42. #define RGBLIGHT_LIMIT_VAL 90
  43. #define RGBLIGHT_VAL_STEP 17
  44. #else
  45. #define RGBLIGHT_LIMIT_VAL 30
  46. #define RGBLIGHT_VAL_STEP 4
  47. #endif
  48. #define RGBLIGHT_HUE_STEP 10
  49. #define RGBLIGHT_SAT_STEP 17
  50. #if defined(RGBLIGHT_ENABLE) && !defined(IOS_DEVICE_ENABLE)
  51. // USB_MAX_POWER_CONSUMPTION value for naked48 keyboard
  52. // 120 RGBoff, OLEDoff
  53. // 120 OLED
  54. // 330 RGB 6
  55. // 300 RGB 32
  56. // 310 OLED & RGB 32
  57. #define USB_MAX_POWER_CONSUMPTION 400
  58. #else
  59. // fix iPhone and iPad power adapter issue
  60. // iOS device need lessthan 100
  61. #define USB_MAX_POWER_CONSUMPTION 100
  62. #endif
  63. #define TAP_CODE_DELAY 10