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.

142 lines
8.7 KiB

[Keymap] Tominabox1 userspace creation (#7014) * rebaselined the whole fork and added cool matrix animations * Updated dfu bootloader rules, oleds working on test map * Moving test branch into main moving my _test branch files into the main since the repo is now in the dev branch, don't see any reason to keep separate folders. * Update keymap.c Adding DOT to number layer * added LED sleeping * working on getting matrix rgb to sleep upon usb suspend uploading to github for qmk staff help * Added master sleep on usb suspend Unfortunately the sleep function does not work on the slave side so will probably revert this change later * bringing hhkb config up to current with other tominabox1 configs * Update config.h since master side is the only one that sleeps, going to disable this for now. * testing oled stuff * Update rules.mk * tinkering with oled still * Finally fixed custom image with corne doug * Adding keymap to dimple instead of screwing up the upstream references. * Changed oled image to peepo ggers * working on oled sleep * Update keymap.c * fixes oled wake/sleep issues * Adding :b: and BEPIS macros * Update .gitignore * Cleaning up and improving documentation * Update keymap.c * Adding my minivan keymap * Fixed error on keymap * fixed OLEDs not turning on and moved tapping term to the keymap file * Changed tapping term from 200 to 250 * Revised Fkey layers, arrows, question mark locations * Update keymap.c * tweaked tapping term and types on CRKBD, revised layout on HHKB * Update keymap.c * general code cleanup, keymap displays * Set up userspace for common keymap elements * tapping term stuff for shift * testing * Fixed new tapdance for accessing number and fkey layers * Update tominabox1.h * stuff * fixing function calls for userspace * cleaning up crkbd config and moving stuff to userspace * finally fixed oled lightup issues * cleaning up a few maps and rules * Removing permissive hold and returning spacefn to all boards. * Settting up wrapper keymaps for Dimple, Minivan, and Corne Wrappers * small tweaks * Update wrappers.h * finishing wrappers on Minivan and Dimple * Revised tapping term definition Providing additional tapping term config for CRKBD only. * Code cleanup and documentation * Update readme.md * Update readme.md * Wrapers and continued code cleanup and documentation * moved oled py scripts to user folder * completed wrapper implementation of CRKBD * added matrix startup mode - not working yet pending upstream changes * removed unused code in tominabox1.c * Fixing custom keycodes and tap dance indices fixed custom keycodes and tap dance indices Adding beginning of dimple RGB matrix definition changed oled on corne to scrolling matrix thing Added copy pasta * Secondary layer tweaks Swapping hands of numbers and symbols as well as tweaking tapping terms accordingly * Update tominabox1.c Continued refinement of tapping term to support better right hand symbol access. * Fixes from pr 7014 Removed gitignore data from qmk master Reverted changes to Drashna's crkbd keymap Accepted changes to crkbd keymap Added ignore to hhkb keymap - I think I need this because Teensy. Will revisit another time * Removing hhkb keymap for rework * Adding back hhkb keymap Re-adding hhkb folder with ignores * Reverting changes to Dimple default totally did not intend to modify these * Update keymap.c Reverting changes to Drashna's corne map * Accepting recommended changes * Reduced tap hold caps delay moved bootmagic enable to general usage Revised tapping terms Removed unused keycode defs * bootmagic * Update rules.mk * Fixed permissions (support 7014) and bootmagic addition Fixed permissions on Drashna's keymap and Dimple default keymap files. Adding bootmagic to my crkbd config. * Fixing permissions
4 years ago
  1. #pragma once
  2. #include "tominabox1.h"
  3. /*
  4. Since our quirky block definitions are basically a list of comma separated
  5. arguments, we need a wrapper in order for these definitions to be
  6. expanded before being used as arguments to the LAYOUT_xxx macro.
  7. */
  8. #if (!defined(LAYOUT) && defined(KEYMAP))
  9. # define LAYOUT KEYMAP
  10. #endif
  11. // clang-format off
  12. #define LAYOUT_wrapper(...) LAYOUT(__VA_ARGS__)
  13. #define LAYOUT_arrow_wrapper(...) LAYOUT_arrow(__VA_ARGS__)
  14. /*
  15. _____ _ _
  16. | __ \(_) | |
  17. | | | |_ _ __ ___ _ __ | | ___
  18. | | | | | '_ ` _ \| '_ \| |/ _ \
  19. | |__| | | | | | | | |_) | | __/
  20. |_____/|_|_| |_| |_| .__/|_|\___|
  21. | |
  22. |_|
  23. */
  24. // Dimple Base layer
  25. #define __________________DIMPLE1__________________ KC_GESC, KC_Q, KC_W, KC_F, KC_P, KC_G, KC_J, KC_L, KC_U, KC_Y, KC_SCLN, KC_BSPC
  26. #define __________________DIMPLE2__________________ LCTL_T(KC_TAB), KC_A, KC_R, KC_S, KC_T, KC_D, KC_H, KC_N, KC_E, KC_I, KC_O, KC_QUOT
  27. #define __________________DIMPLE3L_________________ KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B
  28. #define __________________DIMPLE3R_________________ KC_K, KC_M, KC_COMM, KC_UP, LT(_FKEY,KC_DOT)
  29. #define __________________DIMPLE4__________________ KC_LCTL, KC_LGUI, KC_LALT, KC_ENT_LOW, KC_SPC_RSE, KC_LEFT, KC_DOWN, KC_RGHT
  30. // Dimple Symbol Layer
  31. #define _________________LOWER_1___________________ KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_BSPC
  32. #define _________________LOWER_2___________________ KC_DEL, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_UNDS, KC_PLUS, KC_LCBR, KC_RCBR, KC_PIPE
  33. #define _________________LOWER_3___________________ KC_CAPS, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_PGUP, KC_QUES
  34. #define _________________LOWER_4___________________ LCA(KC_DEL), KC_NO, KC_NO, KC_TRNS, KC_TRNS, KC_TRNS, KC_PGDN, KC_END
  35. // Dimple Number layer
  36. #define ___________________RAISE1__________________ KC_TILD, KC_EXLM, TD(KC_EMAIL), KC_HASH, KC_DLR, KC_PERC, KC_CIRC, KC_AMPR, KC_ASTR, KC_LPRN, KC_RPRN, KC_DEL
  37. #define ___________________RAISE2__________________ KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_MINS, KC_EQL, KC_LBRC, KC_RBRC, KC_BSLS
  38. #define ___________________RAISE3__________________ KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_DOT, KC_SLSH
  39. #define ___________________RAISE4__________________ KC_VOLD, KC_MUTE, KC_VOLU, KC_TRNS, KC_TRNS, KC_TRNS, KC_NO, KC_NO
  40. // Dimple F-key layer
  41. #define ___________________FKEY1___________________ KC_PASTA, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_NO
  42. #define ___________________FKEY2___________________ KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_F11, KC_F12, KC_NO
  43. #define ___________________FKEY3___________________ KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO
  44. #define ___________________FKEY4___________________ KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_TRNS, KC_NO, KC_NO
  45. // Dimple Adjust layer
  46. #define ___________________ADJST1__________________ RESET,RGBRST, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO
  47. #define ___________________ADJST2__________________ RGB_M_P, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO
  48. #define ___________________ADJST3__________________ RGB_MOD, RGB_HUI, RGB_HUD, RGB_M_SN, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO
  49. #define ___________________ADJST4__________________ RGB_VAD, RGB_TOG, RGB_VAI, KC_NO, KC_NO, KC_TRNS, KC_NO, KC_NO
  50. /*
  51. __ __ _ _
  52. | \/ (_) (_)
  53. | \ / |_ _ __ ___ ____ _ _ __
  54. | |\/| | | '_ \| \ \ / / _` | '_ \
  55. | | | | | | | | |\ V / (_| | | | |
  56. |_| |_|_|_| |_|_| \_/ \__,_|_| |_|
  57. */
  58. // Minivan Base Layer
  59. #define __________________MINIVAN1_________________ __________________DIMPLE1__________________
  60. #define __________________MINIVAN2_________________ __________________DIMPLE2__________________
  61. #define __________________MINIVAN3_________________ __________________DIMPLE3L_________________, __________________DIMPLE3R_________________, KC_RSFT
  62. #define __________________MINIVAN4_________________ KC_LCTL, KC_LGUI, KC_LALT, KC_ENT_LOW, KC_SPC_RSE, KC_LEFT, KC_DOWN, KC_RGHT, MO(_FKEY)
  63. /* Minivan Symbol Layer
  64. #define _________________LOWER_1___________________
  65. #define _________________LOWER_2___________________ */
  66. #define __________________MININUM3_________________ _________________LOWER_3___________________, KC_SLSH
  67. #define __________________MININUM4_________________ _________________LOWER_4___________________, KC_END
  68. /* Minvian Number Layer
  69. #define ___________________RAISE1__________________
  70. #define ___________________RAISE2__________________ */
  71. #define ___________________RVAN_3__________________ ___________________RAISE3__________________, KC_NO
  72. #define ___________________RVAN_4__________________ ___________________RAISE4__________________, KC_NO
  73. /* Minvian F-key layer
  74. #define ___________________FKEY1___________________
  75. #define ___________________FKEY2___________________ */
  76. #define ___________________FVAN_3__________________ ___________________FKEY3___________________, KC_NO
  77. #define ___________________FVAN_4__________________ ___________________FKEY4___________________, KC_TRNS
  78. /* Minivan Adjust Layer
  79. #define ___________________ADJST1__________________
  80. #define ___________________ADJST2__________________ */
  81. #define ___________________ADJVAN3_________________ ___________________ADJST3__________________, KC_NO
  82. #define ___________________ADJVAN4_________________ ___________________ADJST4__________________, KC_TRNS
  83. /*
  84. _____ _____ _ ______ _____
  85. / ____| __ \| |/ / _ \| __ \
  86. | | | |__) | ' /| |_) | | | |
  87. | | | _ /| < | _ <| | | |
  88. | |____| | \ \| . \| |_) | |__| |
  89. \_____|_| \_\_|\_\____/|_____/
  90. */
  91. // CRKBD Base Layer
  92. #define ___________________CRKBD1__________________ __________________DIMPLE1__________________
  93. #define ___________________CRKBD2__________________ __________________DIMPLE2__________________
  94. #define ___________________CRKBD3__________________ __________________DIMPLE3L_________________, KC_K, KC_M,KC_COMM, KC_DOT, KC_SLSH, KC_BBB
  95. #define ___________________CRKBD4__________________ KC_LGUI, KC_LALT,KC_ENT_LOW, KC_SPC_RSE, KC_ARROW, KC_FKEY
  96. /* CRKBD Number layer
  97. #define ___________________RAISE1__________________
  98. #define ___________________RAISE1__________________ */
  99. #define ___________________CRKBD_RAISE3____________ ___________________RVAN_3__________________
  100. #define ___________________CRKBD_RAISE4____________ ___________________CRKBD4__________________
  101. /* CRKBD Symbol Layer
  102. #define _________________LOWER_1___________________
  103. #define _________________LOWER_2___________________ */
  104. #define ___________________CRKBD_LOW3______________ __________________MININUM3_________________
  105. #define ___________________CRKBD_LOW4______________ ___________________CRKBD4__________________
  106. /* CRKBD F-key layer
  107. #define ___________________FKEY1___________________
  108. #define ___________________FKEY2___________________ */
  109. #define ___________________CRKBD_FKEY3_____________ ___________________FVAN_3__________________
  110. #define ___________________CRKBD_FKEY4_____________ ___________________CRKBD4__________________
  111. /* CRKBD adjust layer
  112. #define ___________________ADJST1__________________ */
  113. #define ___________________CRKBD_ADJST2____________ KC_LTOG,KC_LHUI,KC_LSAI,KC_LVAI,KC_NO,KC_NO,KC_NO,KC_NO, KC_NO, KC_NO, KC_NO, KC_NO
  114. #define ___________________CRKBD_ADJST3____________ KC_LMOD, KC_LHUD, KC_LSAD, KC_LVAD, KC_NO, KC_NO,KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO
  115. #define ___________________CRKBD_ADJST4____________ ___________________CRKBD4__________________
  116. // CRKBD arrow layer
  117. #define ___________________ARROW1__________________ KC_NO, KC_NO, KC_UP, KC_NO, KC_NO, KC_NO, KC_NO, KC_PGDN, KC_UP, KC_PGUP, KC_NO, KC_NO
  118. #define ___________________ARROW2__________________ KC_NO, KC_LEFT, KC_DOWN, KC_RIGHT, KC_NO, KC_NO,KC_NO, KC_LEFT, KC_DOWN, KC_RGHT, KC_NO, KC_NO
  119. #define ___________________ARROW3__________________ KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO,KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO
  120. #define ___________________ARROW4__________________ ___________________CRKBD4__________________
  121. // clang-format on