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.

79 lines
2.3 KiB

  1. /*
  2. Copyright 2015 Jun Wako <wakojun@gmail.com>
  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. /* USB Device descriptor parameter */
  16. #define VENDOR_ID 0xFEED
  17. #define PRODUCT_ID 0x2B29
  18. #define DEVICE_VER 0x0001
  19. #define MANUFACTURER Wolfmark Club
  20. #define PRODUCT WM1
  21. /* key matrix size */
  22. #define MATRIX_ROWS 5
  23. #define MATRIX_COLS 15
  24. // 0 1 2 3 4 5 6 7 8 9 A B C D E
  25. #define MATRIX_ROW_PINS { C4, A7, A6, A5, A4 }
  26. #define MATRIX_COL_PINS { B10, B11, B12, B13, B14, B15, C6, C10, C11, C12, D2, B5, B6, B7, B8 }
  27. #define DIODE_DIRECTION COL2ROW
  28. /* number of backlight levels */
  29. // #define BACKLIGHT_PIN A2
  30. // #ifdef BACKLIGHT_PIN
  31. // #define BACKLIGHT_LEVELS 5
  32. // #endif
  33. #define RGB_DI_PIN A3
  34. #ifdef RGB_DI_PIN
  35. #define RGBLED_NUM 18
  36. #define RGBLIGHT_ANIMATIONS
  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. #endif
  43. /* define if matrix has ghost */
  44. //#define MATRIX_HAS_GHOST
  45. /* Set 0 if debouncing isn't needed */
  46. #define DEBOUNCE 5
  47. /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
  48. #define LOCKING_SUPPORT_ENABLE
  49. /* Locking resynchronize hack */
  50. #define LOCKING_RESYNC_ENABLE
  51. /*
  52. * Feature disable options
  53. * These options are also useful to firmware size reduction.
  54. */
  55. /* disable debug print */
  56. //#define NO_DEBUG
  57. /* disable print */
  58. //#define NO_PRINT
  59. /* disable action features */
  60. //#define NO_ACTION_LAYER
  61. //#define NO_ACTION_TAPPING
  62. //#define NO_ACTION_ONESHOT
  63. //#define NO_ACTION_MACRO
  64. //#define NO_ACTION_FUNCTION