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.

72 lines
2.2 KiB

  1. /* Copyright 2020 Nathan Spears
  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. #include "config_common.h"
  15. /* USB Device descriptor parameter */
  16. #define VENDOR_ID 0x7070
  17. #define PRODUCT_ID 0x5338
  18. #define DEVICE_VER 0x0001
  19. #define MANUFACTURER nasp
  20. #define PRODUCT Plexus75
  21. /* key matrix size */
  22. #define MATRIX_ROWS 5
  23. #define MATRIX_COLS 15
  24. #define MATRIX_ROW_PINS { D2, B3, B1, F1, F0 }
  25. #define MATRIX_COL_PINS { B2, B0, D1, F7, F6, F5, F4, D4, D6, D7, B4, B5, B6, C6, C7 }
  26. #define UNUSED_PINS
  27. /* COL2ROW, ROW2COL */
  28. #define DIODE_DIRECTION COL2ROW
  29. /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
  30. #define DEBOUNCE 5
  31. /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
  32. #define LOCKING_SUPPORT_ENABLE
  33. /* Locking resynchronize hack */
  34. #define LOCKING_RESYNC_ENABLE
  35. /*
  36. * Feature disable options
  37. * These options are also useful to firmware size reduction.
  38. */
  39. /* disable debug print */
  40. //#define NO_DEBUG
  41. /* disable print */
  42. //#define NO_PRINT
  43. /* disable action features */
  44. //#define NO_ACTION_LAYER
  45. //#define NO_ACTION_TAPPING
  46. //#define NO_ACTION_ONESHOT
  47. //#define NO_ACTION_MACRO
  48. //#define NO_ACTION_FUNCTION
  49. // ws2812 options
  50. #define RGB_DI_PIN D3 // pin the DI on the ws2812 is hooked-up to
  51. #define RGBLIGHT_ANIMATIONS // run RGB animations
  52. #define RGBLED_NUM 14 // number of LEDs
  53. #define RGBLIGHT_HUE_STEP 12 // units to step when in/decreasing hue
  54. #define RGBLIGHT_SAT_STEP 25 // units to step when in/decresing saturation
  55. #define RGBLIGHT_VAL_STEP 12 // units to step when in/decreasing value (brightness)