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.

84 lines
2.2 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. //#include QMK_KEYBOARD_CONFIG_H
  18. #include "config_common.h"
  19. /* USB Device descriptor parameter */
  20. #define VENDOR_ID 0xFC51
  21. #define PRODUCT_ID 0x0058
  22. #define DEVICE_VER 0x0100
  23. #define MANUFACTURER F_YUUCHI
  24. #define PRODUCT Lily58
  25. #define DESCRIPTION Lily58 is 6×4+5keys column-staggered split keyboard.
  26. /* key matrix size */
  27. // Rows are doubled-up
  28. #define MATRIX_ROWS 10
  29. #define MATRIX_COLS 6
  30. // wiring of each half
  31. #define MATRIX_ROW_PINS { C6, D7, E6, B4, B5 }
  32. #define MATRIX_COL_PINS { F6, F7, B1, B3, B2, B6 }
  33. #define CATERINA_BOOTLOADER
  34. /* define tapping term */
  35. #define TAPPING_TERM 100
  36. /* define if matrix has ghost */
  37. //#define MATRIX_HAS_GHOST
  38. /* Set 0 if debouncing isn't needed */
  39. #define DEBOUNCING_DELAY 5
  40. /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
  41. #define LOCKING_SUPPORT_ENABLE
  42. /* Locking resynchronize hack */
  43. #define LOCKING_RESYNC_ENABLE
  44. /* key combination for command */
  45. #define IS_COMMAND() ( \
  46. keyboard_report->mods == (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_RSHIFT)) \
  47. )
  48. /* ws2812 RGB LED */
  49. #define RGB_DI_PIN D3
  50. #define RGBLED_NUM 14 // Number of LEDs
  51. /*
  52. * Feature disable options
  53. * These options are also useful to firmware size reduction.
  54. */
  55. /* disable debug print */
  56. // #define NO_DEBUG
  57. /* disable print */
  58. // #define NO_PRINT
  59. /* disable action features */
  60. //#define NO_ACTION_LAYER
  61. //#define NO_ACTION_TAPPING
  62. //#define NO_ACTION_ONESHOT
  63. //#define NO_ACTION_MACRO
  64. //#define NO_ACTION_FUNCTION