config.h 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323
  1. /*
  2. Copyright 2018 Eric Gebhart <e.a.gebhart@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 USERSPACE_CONFIG_H
  15. #define USERSPACE_CONFIG_H
  16. // pro-micro v3's don't always detect otherwise.
  17. /* #define SPLIT_USB_DETECT */
  18. #define NO_ACTION_MACRO
  19. #define NO_ACTION_FUNCTION
  20. // Sets good default for the speed of the mouse.
  21. #undef MOUSEKEY_INTERVAL
  22. #undef MOUSEKEY_DELAY
  23. #undef MOUSEKEY_TIME_TO_MAX
  24. #undef MOUSEKEY_MAX_SPEED
  25. #define MOUSEKEY_INTERVAL 20
  26. #define MOUSEKEY_DELAY 100
  27. #define MOUSEKEY_TIME_TO_MAX 60
  28. #define MOUSEKEY_MAX_SPEED 7
  29. #undef MOUSEKEY_WHEEL_MAX_SPEED
  30. #undef MOUSEKEY_WHEEL_TIME_TO_MAX
  31. #undef MOUSEKEY_WHEEL_DELAY
  32. #define MOUSEKEY_WHEEL_MAX_SPEED 5
  33. #define MOUSEKEY_WHEEL_TIME_TO_MAX 60
  34. #define MOUSEKEY_WHEEL_DELAY 100
  35. #undef TAPPING_TOGGLE
  36. #undef TAPPING_TERM
  37. #undef IGNORE_MOD_TAP_INTERRUPT
  38. #define TAPPING_TOGGLE 2
  39. #define TAPPING_TERM 200
  40. #define IGNORE_MOD_TAP_INTERRUPT
  41. #define TAP_HOLD_TERM 200
  42. #define COMBO_MUST_HOLD_MODS
  43. #define COMBO_HOLD_TERM 150
  44. #define TAP_CODE_DELAY 5 // for send string with delay
  45. // change the behavior of Mod taps for HRMs.
  46. // #define GLOBAL_QUICK_TAP
  47. /* Control switches for my keymaps. */
  48. /* if needed, this goes in the keyboard's config.h */
  49. /* Alternately, fix the number row in the layout template. */
  50. /* #define BASE_NUMBER_ROW // turn on 4 row base templates. */
  51. // Extensions, turn them on and off.
  52. #define USERSPACE_H "ericgebhart.h"
  53. // Layout definitions, which language, thumb cluster, mod layer.
  54. // Columns in and out.
  55. // the default. set it, use it, set it back.
  56. // US_INT // EN, BEPO, US_INT
  57. #define LANG_IS US_INT
  58. #define DEFAULT_LANG US_INT
  59. #define DEFAULT_LANG_NAME " us"
  60. // Enable a second locale, for another set of layers.
  61. // This will add bepo versions of all layers chosen.
  62. /* #define SECOND_LOCALE BEPO */
  63. /* #define SECOND_LOCALE_NAME " bepo" */
  64. // Choose a mod layer. Can be changed per layer.
  65. // TRNS, ALT, HRS_NAV HRM_GACS, HRM_SCAG, HRM_GASC, MIRYOKU_HRM_GASC
  66. #define MODS_ARE HRS_NAV
  67. #define DEFAULT_MODS MODS_ARE
  68. // Choose a thumb cluster.
  69. // WI, WIa, DEFAULT, TEST, TRNS, MODS, LAYERS, MODS_LAYERS,
  70. // MIRYOKU, MIRYOKU_TR, MODS_LAYERS_NAV,
  71. // The following use THUMB_LETTER to place a letter on the Thumbs.
  72. // for use with the hands down metals, maltron, and rsthd.
  73. // HD, HDA, HD_SIMPLE, TH_LTR, HD_DASH,
  74. // MIRYOKU_TR_LTR, MIRYOKU_LTR
  75. #define THUMBS_ARE DEFAULT
  76. #define DEFAULT_THUMBS DEFAULT
  77. // pick the edge key set. normie, no kc, smart locks or test.
  78. // NORM, NOKC, SML, TEST
  79. #define EDGE_KEY_SET_IS SML
  80. #define DEFAULT_EDGE_SET SML
  81. // for the base layers which need a thumb cluster which takes a letter.
  82. #define HANDS_DOWN_LTR_THUMBS_ARE TH_LTR
  83. #define MALTRON_LTR_THUMBS_ARE TH_LTR
  84. #define RSTHD_LTR_THUMBS_ARE TH_LTR
  85. // layout io, matrix size.
  86. // a reasonable default for most keyboards.
  87. // give a 3x10 and get a 3x12, managed in keyboards/keyboards.h
  88. #define BASE_COLS_IN_OUT 5_6 // 5, 5_6, 6
  89. // OLED STUFF.
  90. #define OLED_CUSTOM_ENABLE // custom oled here.
  91. //#define OLED_LOGO_ENABLE // turn on/off the logo.
  92. #define KEYLOGGER_ENABLE // 1500 bytes, track and print keypress info to oled.
  93. //#define SPLIT_LAYER_STATE_ENABLE // to sync state between sides.
  94. // EXTENSIONS
  95. // Combos
  96. #define COMBO_REF_LAYER_ENABLE
  97. // #define COMBO_REF_LAYER_TWO_ENABLE
  98. // works if you know the number of your layer.
  99. // otherwise set and use them later.
  100. // #define COMBO_ONLY_FROM_LAYER 2
  101. // #define COMBO_REF_DEFAULT 2
  102. // Console key logging for creation of heatmaps, etc.
  103. // CONSOLE must be enabled for this to work.
  104. // To create Precondition's heat maps, from console key logging
  105. // with hid_listen or qmk console
  106. //#define CONSOLE_KEY_LOGGER_ENABLE // turn on keylogging for heat maps.
  107. #define ALT_LOCAL_ENABLE // alternate key combinations, with mods as needed.
  108. #define ACCENTED_KEYS_ENABLE // direct access to altgr keys.
  109. #define SMART_LOCK_ENABLE // smart lock layers and mods.
  110. //#define MOD_LOCK_ENABLE // smart lock mods, similar/overlapping with Smart lock.
  111. #define NSHOT_ENABLE // smart n-shot for count.
  112. //#define ONESHOT_MOD_ENABLE // oneshot mods, similar/overlapping with nshots
  113. #define TAP_HOLD_ENABLE // tap for one thing, hold for tapping term to get another.
  114. //#define SWAPPER_ENABLE // enable swapper keys.
  115. #define NOT_DEAD_ENABLE // make undead versions (US_DQUO_ND) of dead keys.
  116. //#define ALT_SHIFT_ENABLE // alternate shift behaviors for existing keys.
  117. //#define SEND_STRING_ENABLE // Turn on send string keys
  118. //#define SEND_UNICODE_ENABLE // Unicode must be enabled for this to work.
  119. // Turn on the base layers do not exceed 4 if doing two locales.
  120. // That will likely push a layer past 15 and then it will
  121. // no longer work with the LT macro.
  122. // dvorak and relatives
  123. #define DVORAK_LAYER_ENABLE
  124. //#define DVORAK_RLC_IU_LAYER_ENABLE
  125. //#define CAPEWELL_DVORAK_LAYER_ENABLE
  126. //#define AHEI_LAYER_ENABLE
  127. //#define BOO_LAYER_ENABLE
  128. // qwerty and derivitives
  129. //#define QWERTY_LAYER_ENABLE
  130. //#define AZERTY_LAYER_ENABLE
  131. //#define WORKMAN_LAYER_ENABLE
  132. //#define NORMAN_LAYER_ENABLE
  133. // COLEMAK and relatives
  134. //#define COLEMAK_LAYER_ENABLE
  135. //#define COLEMAK_DH_LAYER_ENABLE
  136. //#define HALMAK_LAYER_ENABLE
  137. //#define MINIMAK_LAYER_ENABLE
  138. //#define MINIMAK_8_LAYER_ENABLE
  139. //#define MINIMAK_12_LAYER_ENABLE
  140. // BEAKL
  141. // #define BEAKL15_LAYER_ENABLE
  142. //#define BEAKL19_LAYER_ENABLE
  143. //#define BEAKL27_LAYER_ENABLE
  144. //#define BEAKLWI_LAYER_ENABLE
  145. // carpalx layouts
  146. //#define CARPALX_QFMLWY_LAYER_ENABLE
  147. //#define CARPALX_QGMLWB_LAYER_ENABLE
  148. //#define CARPALX_QGMLWY_LAYER_ENABLE
  149. // alternate layouts
  150. //#define MALTRON_LAYER_ENABLE
  151. //#define EUCALYN_LAYER_ENABLE
  152. //#define HANDS_UP_LAYER_ENABLE
  153. //#define RSTHD_LAYER_ENABLE
  154. //#define HANDS_UP_LAYER_ENABLE
  155. //#define WHITE_LAYER_ENABLE
  156. //#define ISRT_LAYER_ENABLE
  157. //#define SOUL_LAYER_ENABLE
  158. //#define NIRO_LAYER_ENABLE
  159. //#define ASSET_LAYER_ENABLE
  160. //#define WHORF_LAYER_ENABLE
  161. //#define WHORF6_LAYER_ENABLE
  162. // mtgap and relatives
  163. //#define MTGAP_LAYER_ENABLE
  164. //#define CTGAP_LAYER_ENABLE
  165. //#define APT_LAYER_ENABLE
  166. //#define CANARY_LAYER_ENABLE
  167. // Hands down
  168. #define HD_NEU_NARROW_LAYER_ENABLE
  169. //#define HD_REF_LAYER_ENABLE
  170. //#define HD_DASH_LAYER_ENABLE
  171. //#define HD_ELAN_LAYER_ENABLE
  172. //#define HD_BRONZE_LAYER_ENABLE
  173. //#define HD_SILVER_LAYER_ENABLE
  174. //#define HD_PLATINUM_LAYER_ENABLE
  175. //#define HD_GOLD_LAYER_ENABLE
  176. //#define HD_TITANIUM_LAYER_ENABLE
  177. // A compact optimot for 3x10.
  178. // requires accent characters.
  179. //#define OPTIMOT_COMPACT_LAYER_ENABLE
  180. // 3x12 sized base layers
  181. //--------------------------
  182. //#define HD_NEU_LAYER_ENABLE
  183. // Optimized for french
  184. // All these have accent characters on base layer.
  185. // so these dont work for En, but do for US-international and Bepo.
  186. //#define BEPO_LAYER_ENABLE
  187. //#define OPTIMOT_LAYER_ENABLE
  188. //#define BEAKL19bis_LAYER_ENABLE
  189. // enable transient function layers.
  190. #define SYMBOL_LAYER_ENABLE
  191. #define NAV_LAYER_ENABLE
  192. // #define MOUSE_LAYER_ENABLE
  193. #define TOPROWS_LAYER_ENABLE
  194. // #define LAYERS_LAYER_ENABLE - defunct. always on.
  195. #define KEYPAD_LAYER_ENABLE
  196. //#define ADJUST_LAYER_ENABLE
  197. //#define RGB_LAYER_ENABLE
  198. //#define MEDIA_LAYER_ENABLE
  199. //#define FUNC_LAYER_ENABLE
  200. // define alternate thumb definitions for the transient layers.
  201. #define MEDIA_LAYER_THUMBS MEDIA_THUMBS
  202. #define MOUSE_LAYER_THUMBS MOUSE_THUMBS
  203. #define NAV_LAYER_THUMBS TRNS_THUMBS
  204. #define KEYPAD_LAYER_THUMBS KEYPAD_THUMBS
  205. #define SYMB_LAYER_THUMBS SYMB_THUMBS
  206. #define TOPROWS_LAYER_THUMBS DEFAULT
  207. // Extra character layers.
  208. // Bepo has dead keys (altgr) and accented keycodes
  209. // A layer of accented keys
  210. // #define ACCENTS_LAYER_ENABLE
  211. // A layer of dead keys
  212. // #define MORTE_LAYER_ENABLE
  213. // A layer of the most popular accented keys and dead keys
  214. #define ACCENTS_MORTE_LAYER_ENABLE
  215. // Functional layer choices.
  216. /* configure the function layers. */
  217. /* They have to be turned on above. */
  218. /* Choose one of each as desired. */
  219. /* There are reasonable defaults */
  220. /* for each if nothing is defined. */
  221. /* nav */
  222. //#define NAV_FULL // monolithic, two sided nav with mouse and arrows.
  223. #define NAV_FULL_LOCK_MODS // Replace left mouse buttons with lockmods.
  224. // Just the non mouse bits, with lock mods, n-shot mods on the left.
  225. // if mousekeys enabled, adds a mouse layer accessible via smart lock.
  226. // #define NAV_NO_MOUSE
  227. // #define NAV_MIRYOKU
  228. // #define NAV_MOUSE_MIRYOKU
  229. /* keypads */
  230. // beakl keypads are usual, if not chosen, regular keypads will be used.
  231. // left side is the default.
  232. // Beakl, except for WI, is only on the left side.
  233. // Miryoku is on the left also.
  234. //#define KEYPAD_RIGHT
  235. #define KEYPAD_BEAKL // beakl doesn't have a rightside, swap hands?
  236. //#define KEYPAD_MODS // give mods on the other side instead of funcs.
  237. //#define KEYPAD_BEAKL_WI // right side with hexpad on left.
  238. //#define KEYPAD_MIRYOKU // use the miryoku keypad
  239. // the default if nothing chosen,
  240. // is a functionpad on the left and normal keypad on the right.
  241. // funcpad from miryoku
  242. // #define FUNCPAD_MIRYOKU
  243. /* symbols */
  244. // pick one of these or get the default.
  245. //#define SYMBOL_BEAKL // original - the default if nothing else.
  246. //#define SYMBOL_BEAKL_EXT // extended for non beakl base layers.
  247. //#define SYMBOL_BEAKL_EXT_VI // extended with vi keybinding in mind.
  248. #define SYMBOL_BEAKL_C // more alterations by frequency
  249. // #define SYMBOL_NEO // The symbol layer from the Neo layout.
  250. // #define SYMBOL_MIRYOKU // minimalist symbols after miryoku
  251. //#define SYMBOL_BEAKL_WI // original wi
  252. /* toprows. */
  253. // The default, if not defined, is a standard qwerty set of rows.
  254. // symbols, numbers, function keys. Numbers on the home row.
  255. // #define TOPROWS_BKL_15_NUMS // center row with Beakl15 order. 40123 76598.
  256. // #define TOPROWS_BKL_19_NUMS // Beakl 19 order: 32104 76598
  257. #define TOPROWS_MOD // beakl 15 nums, oneshot and smart lock mods. no Fkeys.
  258. #endif