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
1.9 KiB

  1. /*
  2. Copyright 2012 Jun Wako <wakojun@gmail.com>
  3. Copyright 2015 Jack Humbert
  4. Copyright 2017 F_YUUCHI
  5. This program is free software: you can redistribute it and/or modify
  6. it under the terms of the GNU General Public License as published by
  7. the Free Software Foundation, either version 2 of the License, or
  8. (at your option) any later version.
  9. This program is distributed in the hope that it will be useful,
  10. but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  12. GNU General Public License for more details.
  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. /* USB Device descriptor parameter */
  18. #define VENDOR_ID 0x04D8
  19. #define PRODUCT_ID 0xEB2D
  20. #define DEVICE_VER 0x0100
  21. #define MANUFACTURER liliums
  22. #define PRODUCT Lily58
  23. /* key matrix size */
  24. // Rows are doubled-up
  25. #define MATRIX_ROWS 10
  26. #define MATRIX_COLS 6
  27. // wiring of each half
  28. #define MATRIX_ROW_PINS { C6, D7, E6, B4, B5 }
  29. #define MATRIX_COL_PINS { F6, F7, B1, B3, B2, B6 }
  30. #define SOFT_SERIAL_PIN D2
  31. #define SERIAL_USE_MULTI_TRANSACTION
  32. /* define if matrix has ghost */
  33. //#define MATRIX_HAS_GHOST
  34. /* Set 0 if debouncing isn't needed */
  35. #define DEBOUNCE 5
  36. /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
  37. //#define LOCKING_SUPPORT_ENABLE
  38. /* Locking resynchronize hack */
  39. //#define LOCKING_RESYNC_ENABLE
  40. /* ws2812 RGB LED */
  41. #define RGB_DI_PIN D3
  42. #define RGBLED_NUM 12 // Number of LEDs
  43. /*
  44. * Feature disable options
  45. * These options are also useful to firmware size reduction.
  46. */
  47. /* disable debug print */
  48. // #define NO_DEBUG
  49. /* disable print */
  50. // #define NO_PRINT
  51. /* disable action features */
  52. //#define NO_ACTION_LAYER
  53. //#define NO_ACTION_TAPPING
  54. //#define NO_ACTION_ONESHOT
  55. //#define NO_ACTION_MACRO
  56. //#define NO_ACTION_FUNCTION