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.

88 lines
2.8 KiB

  1. /* Copyright 2022 ItsFiremanSam
  2. This program is free software: you can redistribute it and/or modify
  3. it under the terms of the GNU General Public License as published by
  4. the Free Software Foundation, either version 2 of the License, or
  5. (at your option) any later version.
  6. This program is distributed in the hope that it will be useful,
  7. but WITHOUT ANY WARRANTY; without even the implied warranty of
  8. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  9. GNU General Public License for more details.
  10. You should have received a copy of the GNU General Public License
  11. along with this program. If not, see <http://www.gnu.org/licenses/>.
  12. */
  13. #pragma once
  14. /* key matrix size */
  15. #define MATRIX_ROWS 2
  16. #define MATRIX_COLS 4
  17. /*
  18. * Keyboard Matrix Assignments
  19. *
  20. * Change this to how you wired your keyboard
  21. * COLS: AVR pins used for columns, left to right
  22. * ROWS: AVR pins used for rows, top to bottom
  23. * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode)
  24. * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode)
  25. *
  26. */
  27. /* Keyboard Matrix Assignments */
  28. #define DIRECT_PINS { \
  29. { E6, D7, B1, B3 }, \
  30. { B5, B4, B2, B6 } \
  31. }
  32. #define RGB_DI_PIN D3 // LED data pin on controller
  33. #define RGBLED_NUM 4 // Number of LEDs connected
  34. #define RGBLIGHT_HUE_STEP 10 // The number of steps to cycle through the hue by
  35. #define RGBLIGHT_SAT_STEP 17 // The number of steps to increment the saturation by
  36. #define RGBLIGHT_VAL_STEP 17 // The number of steps to increment the brightness by
  37. #define RGBLIGHT_LIMIT_VAL 255 // Max brightness level
  38. #define RGBLIGHT_SLEEP // RGB will switch off when host goes to sleep
  39. #define RGBLIGHT_EFFECT_BREATHING // Enable all additional RGB animation modes
  40. #define RGBLIGHT_EFFECT_RAINBOW_MOOD
  41. #define RGBLIGHT_EFFECT_RAINBOW_SWIRL
  42. #define RGBLIGHT_EFFECT_SNAKE
  43. #define RGBLIGHT_EFFECT_KNIGHT
  44. #define RGBLIGHT_EFFECT_CHRISTMAS
  45. #define RGBLIGHT_EFFECT_STATIC_GRADIENT
  46. #define RGBLIGHT_EFFECT_RGB_TEST
  47. #define RGBLIGHT_EFFECT_ALTERNATING
  48. #define RGBLIGHT_EFFECT_TWINKLE
  49. #define OLED_TIMEOUT 20000 // Turns off OLED after said amount of milliseconds
  50. #define OLED_BRIGHTNESS 128
  51. #define OLED_DISPLAY_128X64
  52. /* If defined, GRAVE_ESC will always act as ESC when CTRL is held.
  53. * This is useful for the Windows task manager shortcut (ctrl+shift+esc).
  54. */
  55. //#define GRAVE_ESC_CTRL_OVERRIDE
  56. /*
  57. * Feature disable options
  58. * These options are also useful to firmware size reduction.
  59. */
  60. /* disable debug print */
  61. //#define NO_DEBUG
  62. /* disable print */
  63. //#define NO_PRINT
  64. /* disable action features */
  65. //#define NO_ACTION_LAYER
  66. //#define NO_ACTION_TAPPING
  67. //#define NO_ACTION_ONESHOT
  68. /* Bootmagic Lite key configuration */
  69. #define BOOTMAGIC_LITE_ROW 1
  70. #define BOOTMAGIC_LITE_COLUMN 0