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.

52 lines
1.5 KiB

  1. /*
  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 0xB141
  17. #define PRODUCT_ID 0x0602 //F is 6th in alphabet, 02 as in DUO
  18. #define DEVICE_VER 0x0001
  19. #define MANUFACTURER ParyzFilip
  20. #define PRODUCT Freoduo
  21. /* key matrix size */
  22. /* rows are doubled-up */
  23. #define MATRIX_ROWS 10
  24. #define MATRIX_COLS 6
  25. /* wiring of each half */
  26. #define MATRIX_ROW_PINS { C6, D7, E6, B4, B5 }
  27. #define MATRIX_COL_PINS { B2, B6, F6, B3, B1, F7 }
  28. #define EE_HANDS
  29. /* COL2ROW or ROW2COL */
  30. #define DIODE_DIRECTION COL2ROW
  31. /* Set 0 if debouncing isn't needed */
  32. #define DEBOUNCE 3
  33. /* serial.c configuration for split keyboard */
  34. #define SOFT_SERIAL_PIN D0
  35. /* ws2812 RGB LED */
  36. #define RGB_DI_PIN D4
  37. #define RGBLIGHT_ANIMATIONS
  38. #define RGBLIGHT_SLEEP
  39. #define RGBLIGHT_HUE_STEP 16
  40. #define RGBLIGHT_SAT_STEP 8
  41. #define RGBLIGHT_VAL_STEP 8