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.

53 lines
1.5 KiB

  1. /*
  2. Copyright 2012 Jun Wako <wakojun@gmail.com>
  3. Copyright 2015 Jack Humbert
  4. Copyright 2017 F_YUUCHI
  5. Copyright 2020 Ben Roesner (keycapsss.com)
  6. This program is free software: you can redistribute it and/or modify
  7. it under the terms of the GNU General Public License as published by
  8. the Free Software Foundation, either version 2 of the License, or
  9. (at your option) any later version.
  10. This program is distributed in the hope that it will be useful,
  11. but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  13. GNU General Public License for more details.
  14. You should have received a copy of the GNU General Public License
  15. along with this program. If not, see <http://www.gnu.org/licenses/>.
  16. */
  17. #pragma once
  18. /* USB Device descriptor parameter */
  19. #define VENDOR_ID 0x7983
  20. #define PRODUCT_ID 0x4C4C // "LL"
  21. #define DEVICE_VER 0x0100
  22. #define MANUFACTURER Keycapsss
  23. #define PRODUCT Lily58L
  24. /* key matrix size */
  25. // Rows are doubled-up
  26. #define MATRIX_ROWS 10
  27. #define MATRIX_COLS 6
  28. // wiring of each half
  29. #define MATRIX_ROW_PINS { C6, D7, E6, B4, B5 }
  30. #define MATRIX_COL_PINS { F6, F7, B1, B3, B2, B6 }
  31. /* Set 0 if debouncing isn't needed */
  32. #define DEBOUNCE 5
  33. #define SOFT_SERIAL_PIN D2
  34. #define RGB_DI_PIN D3
  35. #define RGBLED_SPLIT { 35, 35 }
  36. #define RGBLED_NUM 70
  37. #define RGBLIGHT_SPLIT
  38. #define RGBLIGHT_LIMIT_VAL 120
  39. #define ENCODERS_PAD_A { F4 }
  40. #define ENCODERS_PAD_B { F5 }
  41. #define ENCODERS_PAD_A_RIGHT { F5 }
  42. #define ENCODERS_PAD_B_RIGHT { F4 }