2
0

config.h 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  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 0xFC51
  19. #define PRODUCT_ID 0x0058
  20. #define DEVICE_VER 0x0100
  21. #define MANUFACTURER F_YUUCHI
  22. #define PRODUCT Lily58
  23. #define DESCRIPTION Lily58 is 6×4+5keys column-staggered split keyboard.
  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. #define CATERINA_BOOTLOADER
  32. /* define tapping term */
  33. #define TAPPING_TERM 100
  34. /* define if matrix has ghost */
  35. //#define MATRIX_HAS_GHOST
  36. /* Set 0 if debouncing isn't needed */
  37. #define DEBOUNCING_DELAY 5
  38. /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
  39. //#define LOCKING_SUPPORT_ENABLE
  40. /* Locking resynchronize hack */
  41. //#define LOCKING_RESYNC_ENABLE
  42. /* ws2812 RGB LED */
  43. #define RGB_DI_PIN D3
  44. #define RGBLED_NUM 12 // Number of LEDs
  45. /*
  46. * Feature disable options
  47. * These options are also useful to firmware size reduction.
  48. */
  49. /* disable debug print */
  50. // #define NO_DEBUG
  51. /* disable print */
  52. // #define NO_PRINT
  53. /* disable action features */
  54. //#define NO_ACTION_LAYER
  55. //#define NO_ACTION_TAPPING
  56. //#define NO_ACTION_ONESHOT
  57. //#define NO_ACTION_MACRO
  58. //#define NO_ACTION_FUNCTION