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.

50 lines
1.5 KiB

  1. /* Copyright 2021 Caleb Lightfoot
  2. *
  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. *
  8. * This program is distributed in the hope that it will be useful,
  9. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  10. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  11. * GNU General Public License for more details.
  12. *
  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. #include "config_common.h"
  18. /* USB Device descriptor parameter */
  19. #define VENDOR_ID 0x5351
  20. #define PRODUCT_ID 0x5458
  21. #define DEVICE_VER 0x0100
  22. #define MANUFACTURER squashkb
  23. #define PRODUCT Yeehaw
  24. /* key matrix size */
  25. #define MATRIX_ROWS 1
  26. #define MATRIX_COLS 14
  27. /* Keyboard Matrix Assignments */
  28. #define DIRECT_PINS { \
  29. { D2, D4, C6, E6, F5, B1, D3, D7, B4, F6, B3, B5, F7, F4 } \
  30. }
  31. #define ENCODERS_PAD_A { D1 }
  32. #define ENCODERS_PAD_B { D0 }
  33. #define RGB_DI_PIN B2
  34. #ifdef RGB_DI_PIN
  35. #define RGBLED_NUM 7
  36. #define RGBLIGHT_HUE_STEP 8
  37. #define RGBLIGHT_SAT_STEP 8
  38. #define RGBLIGHT_VAL_STEP 8
  39. #define RGBLIGHT_LIMIT_VAL 255 /* The maximum brightness level */
  40. #define RGBLIGHT_SLEEP /* If defined, the RGB lighting will be switched off when the host goes to sleep */
  41. /*== all animations enable ==*/
  42. #define RGBLIGHT_ANIMATIONS
  43. #endif