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.

151 lines
4.9 KiB

Add a lot more data to info.json (#13366) * add some split data to info.json * add tags * add half of config_options.md to info.json * add support for designating master split * sort out split transport and primary * fix bad data in UNUSED_PINS * fixup custom transport * wip * allow for setting split right half keyboard matrix * add SPLIT_USB_DETECT * minor cleanup * fix an erroneous message * rework split.usb_detect * adding missing rgblight vars to info.json * add mouse_key to info.json * add all remaining options from docs/config_options.md * fix audio voices * qmk info: Change text output to use dotted notation * tweak layout output * resolve alias names * break out some functions to make flake8 happy * add a field for bootloader instructions * qmk generate-info-json: add a write-to-file argument Adds an argument that instructs qmk generate-info-json to write the output to a file instead of just to the terminal. * -arg_only, +action Because it was never my intention that one would have to specify a value for the argument that enables writing the file. * Bring qmk generate-info-json inline with other generate commands * pytest fixup * fix esca/getawayvan * fix data driven errors for bpiphany converters * features.force_nkro -> usb.force_nkro * split.primary->split.main * fix esca/getawayvan_f042 * fix the bpiphany converters for real * fix bpiphany/tiger_lily * Apply suggestions from code review Co-authored-by: Nick Brassel <nick@tzarc.org> * fix generate-api errors * fix matrix pin extraction for split boards * fix ploopyco/trackball_nano/rev1_001 Co-authored-by: James Young <18669334+noroadsleft@users.noreply.github.com> Co-authored-by: Nick Brassel <nick@tzarc.org>
2 years ago
Add a lot more data to info.json (#13366) * add some split data to info.json * add tags * add half of config_options.md to info.json * add support for designating master split * sort out split transport and primary * fix bad data in UNUSED_PINS * fixup custom transport * wip * allow for setting split right half keyboard matrix * add SPLIT_USB_DETECT * minor cleanup * fix an erroneous message * rework split.usb_detect * adding missing rgblight vars to info.json * add mouse_key to info.json * add all remaining options from docs/config_options.md * fix audio voices * qmk info: Change text output to use dotted notation * tweak layout output * resolve alias names * break out some functions to make flake8 happy * add a field for bootloader instructions * qmk generate-info-json: add a write-to-file argument Adds an argument that instructs qmk generate-info-json to write the output to a file instead of just to the terminal. * -arg_only, +action Because it was never my intention that one would have to specify a value for the argument that enables writing the file. * Bring qmk generate-info-json inline with other generate commands * pytest fixup * fix esca/getawayvan * fix data driven errors for bpiphany converters * features.force_nkro -> usb.force_nkro * split.primary->split.main * fix esca/getawayvan_f042 * fix the bpiphany converters for real * fix bpiphany/tiger_lily * Apply suggestions from code review Co-authored-by: Nick Brassel <nick@tzarc.org> * fix generate-api errors * fix matrix pin extraction for split boards * fix ploopyco/trackball_nano/rev1_001 Co-authored-by: James Young <18669334+noroadsleft@users.noreply.github.com> Co-authored-by: Nick Brassel <nick@tzarc.org>
2 years ago
  1. /*
  2. Copyright 2012 Jun Wako <wakojun@gmail.com>
  3. This program is free software: you can redistribute it and/or modify
  4. it under the terms of the GNU General Public License as published by
  5. the Free Software Foundation, either version 2 of the License, or
  6. (at your option) any later version.
  7. This program is distributed in the hope that it will be useful,
  8. but WITHOUT ANY WARRANTY; without even the implied warranty of
  9. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  10. GNU General Public License for more details.
  11. You should have received a copy of the GNU General Public License
  12. along with this program. If not, see <http://www.gnu.org/licenses/>.
  13. */
  14. #ifndef CONFIG_H
  15. #define CONFIG_H
  16. #include "config_common.h"
  17. /* USB Device descriptor parameter */
  18. #define VENDOR_ID 0x4245 //BE
  19. #define PRODUCT_ID 0x544C //TL
  20. #define DEVICE_VER 0x0001
  21. #define MANUFACTURER Bathroom Epiphanies
  22. #define PRODUCT tiger_lily
  23. /*
  24. * Frosty Flake Rev. 20140521 made by Bathroom Ephiphanies
  25. * Ported from the Bathroom Epiphanies TMK Firmware:
  26. * https://github.com/BathroomEpiphanies/epiphanies_tmk_keyboard/tree/master/be_controllers
  27. *
  28. */
  29. /* key matrix size */
  30. #define MATRIX_ROWS 8 // Row0 - Row7 in the schematic
  31. #define MATRIX_COLS 18 // ColA - ColR in the schematic
  32. /*
  33. * Keyboard Matrix Assignments
  34. *
  35. * MATRIX_ROW_PINS and MATRIX_COL_PINS aren't actually used and are included
  36. * for data driven compatibility.
  37. */
  38. #define MATRIX_ROW_PINS { C2, B3, B4, B2, B1, C7, B6, B5 }
  39. #define MATRIX_COL_PINS { NO_PIN, NO_PIN, NO_PIN, NO_PIN, NO_PIN, NO_PIN, NO_PIN, NO_PIN, NO_PIN, NO_PIN, NO_PIN, NO_PIN, NO_PIN, NO_PIN, NO_PIN, NO_PIN, NO_PIN, NO_PIN }
  40. #define UNUSED_PINS { B0, C4, D3 }
  41. #define LED_NUM_LOCK_PIN C5
  42. #define LED_CAPS_LOCK_PIN C6
  43. #define LED_SCROLL_LOCK_PIN B7
  44. #define LED_PIN_ON_STATE 0
  45. /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
  46. #define DEBOUNCE 5
  47. /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
  48. #define LOCKING_SUPPORT_ENABLE
  49. /* Locking resynchronize hack */
  50. #define LOCKING_RESYNC_ENABLE
  51. /*
  52. * Force NKRO
  53. *
  54. * Force NKRO (nKey Rollover) to be enabled by default, regardless of the saved
  55. * state in the bootmagic EEPROM settings. (Note that NKRO must be enabled in the
  56. * makefile for this to work.)
  57. *
  58. * If forced on, NKRO can be disabled via magic key (default = LShift+RShift+N)
  59. * until the next keyboard reset.
  60. *
  61. * NKRO may prevent your keystrokes from being detected in the BIOS, but it is
  62. * fully operational during normal computer usage.
  63. *
  64. * For a less heavy-handed approach, enable NKRO via magic key (LShift+RShift+N)
  65. * or via bootmagic (hold SPACE+N while plugging in the keyboard). Once set by
  66. * bootmagic, NKRO mode will always be enabled until it is toggled again during a
  67. * power-up.
  68. *
  69. */
  70. //#define FORCE_NKRO
  71. /*
  72. * Magic Key Options
  73. *
  74. * Magic keys are hotkey commands that allow control over firmware functions of
  75. * the keyboard. They are best used in combination with the HID Listen program,
  76. * found here: https://www.pjrc.com/teensy/hid_listen.html
  77. *
  78. * The options below allow the magic key functionality to be changed. This is
  79. * useful if your keyboard/keypad is missing keys and you want magic key support.
  80. *
  81. */
  82. /* control how magic key switches layers */
  83. //#define MAGIC_KEY_SWITCH_LAYER_WITH_FKEYS true
  84. //#define MAGIC_KEY_SWITCH_LAYER_WITH_NKEYS true
  85. //#define MAGIC_KEY_SWITCH_LAYER_WITH_CUSTOM false
  86. /* override magic key keymap */
  87. //#define MAGIC_KEY_SWITCH_LAYER_WITH_FKEYS
  88. //#define MAGIC_KEY_SWITCH_LAYER_WITH_NKEYS
  89. //#define MAGIC_KEY_SWITCH_LAYER_WITH_CUSTOM
  90. //#define MAGIC_KEY_HELP1 H
  91. //#define MAGIC_KEY_HELP2 SLASH
  92. //#define MAGIC_KEY_DEBUG D
  93. //#define MAGIC_KEY_DEBUG_MATRIX X
  94. //#define MAGIC_KEY_DEBUG_KBD K
  95. //#define MAGIC_KEY_DEBUG_MOUSE M
  96. //#define MAGIC_KEY_VERSION V
  97. //#define MAGIC_KEY_STATUS S
  98. //#define MAGIC_KEY_CONSOLE C
  99. //#define MAGIC_KEY_LAYER0_ALT1 ESC
  100. //#define MAGIC_KEY_LAYER0_ALT2 GRAVE
  101. //#define MAGIC_KEY_LAYER0 0
  102. //#define MAGIC_KEY_LAYER1 1
  103. //#define MAGIC_KEY_LAYER2 2
  104. //#define MAGIC_KEY_LAYER3 3
  105. //#define MAGIC_KEY_LAYER4 4
  106. //#define MAGIC_KEY_LAYER5 5
  107. //#define MAGIC_KEY_LAYER6 6
  108. //#define MAGIC_KEY_LAYER7 7
  109. //#define MAGIC_KEY_LAYER8 8
  110. //#define MAGIC_KEY_LAYER9 9
  111. //#define MAGIC_KEY_BOOTLOADER PAUSE
  112. //#define MAGIC_KEY_LOCK CAPS
  113. //#define MAGIC_KEY_EEPROM E
  114. //#define MAGIC_KEY_NKRO N
  115. //#define MAGIC_KEY_SLEEP_LED Z
  116. /*
  117. * Feature disable options
  118. * These options are also useful to firmware size reduction.
  119. */
  120. /* disable debug print */
  121. //#define NO_DEBUG
  122. /* disable print */
  123. //#define NO_PRINT
  124. /* disable action features */
  125. //#define NO_ACTION_LAYER
  126. //#define NO_ACTION_TAPPING
  127. //#define NO_ACTION_ONESHOT
  128. //#define NO_ACTION_MACRO
  129. //#define NO_ACTION_FUNCTION
  130. #endif