config.h 3.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  1. /*
  2. Copyright 2020 <t@ylor.io>
  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. #include "config_common.h"
  16. #define VENDOR_ID 0xA103
  17. #define PRODUCT_ID 0x060A
  18. #define DEVICE_VER 0x0001
  19. #define MANUFACTURER ai03
  20. #define PRODUCT Voyager60-Alps
  21. #define MATRIX_ROWS 5
  22. #define MATRIX_COLS 14
  23. #define MATRIX_ROW_PINS { B1, B2, B3, F0, F1 }
  24. #define MATRIX_COL_PINS { F4, F7, F5, F6, C7, C6, B6, B5, B4, D7, D6, D4, D5, D3}
  25. #define UNUSED_PINS
  26. #define DIODE_DIRECTION COL2ROW
  27. /*
  28. * Split Keyboard specific options, make sure you have 'SPLIT_KEYBOARD = yes' in your rules.mk, and define SOFT_SERIAL_PIN.
  29. */
  30. #define SOFT_SERIAL_PIN D0 // or D1, D2, D3, E6
  31. // define BACKLIGHT_PIN B7
  32. // define BACKLIGHT_BREATHING
  33. // #define BACKLIGHT_LEVELS 3
  34. #define RGB_DI_PIN D2
  35. #ifdef RGB_DI_PIN
  36. #define RGBLED_NUM 14
  37. #define RGBLIGHT_HUE_STEP 8
  38. #define RGBLIGHT_SAT_STEP 8
  39. #define RGBLIGHT_VAL_STEP 8
  40. #define RGBLIGHT_LIMIT_VAL 255 /* The maximum brightness level */
  41. #define RGBLIGHT_SLEEP /* If defined, the RGB lighting will be switched off when the host goes to sleep */
  42. // /*== all animations enable ==*/
  43. #define RGBLIGHT_ANIMATIONS
  44. // /*== or choose animations ==*/
  45. // #define RGBLIGHT_EFFECT_BREATHING
  46. // #define RGBLIGHT_EFFECT_RAINBOW_MOOD
  47. // #define RGBLIGHT_EFFECT_RAINBOW_SWIRL
  48. // #define RGBLIGHT_EFFECT_SNAKE
  49. // #define RGBLIGHT_EFFECT_KNIGHT
  50. // #define RGBLIGHT_EFFECT_CHRISTMAS
  51. // #define RGBLIGHT_EFFECT_STATIC_GRADIENT
  52. // #define RGBLIGHT_EFFECT_RGB_TEST
  53. // #define RGBLIGHT_EFFECT_ALTERNATING
  54. #endif
  55. /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
  56. #define DEBOUNCE 5
  57. /* define if matrix has ghost (lacks anti-ghosting diodes) */
  58. //#define MATRIX_HAS_GHOST
  59. /* number of backlight levels */
  60. /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
  61. // #define LOCKING_SUPPORT_ENABLE
  62. /* Locking resynchronize hack */
  63. // #define LOCKING_RESYNC_ENABLE
  64. /*
  65. * Feature disable options
  66. * These options are also useful to firmware size reduction.
  67. */
  68. /* disable debug print */
  69. // #define NO_DEBUG
  70. /* disable print */
  71. // #define NO_PRINT
  72. /* disable action features */
  73. //#define NO_ACTION_LAYER
  74. //#define NO_ACTION_TAPPING
  75. //#define NO_ACTION_ONESHOT
  76. //#define NO_ACTION_MACRO
  77. //#define NO_ACTION_FUNCTION
  78. /* Bootmagic Lite key configuration */
  79. // #define BOOTMAGIC_LITE_ROW 0
  80. // #define BOOTMAGIC_LITE_COLUMN 0