From d2ff66a985b938e87fffe55c1d9f1dc55e356f91 Mon Sep 17 00:00:00 2001 From: Jack Humbert Date: Wed, 23 Aug 2017 22:29:07 -0400 Subject: Creates a layouts/ folder for keymaps shared between keyboards (#1609) * include variables and .h files as pp directives * start layout compilation * split ergodoxes up * don't compile all layouts for everything * might seg fault * reset layouts variable * actually reset layouts * include rules.mk instead * remove includes from rules.mk * update variable setting * load visualizer from path * adds some more examples * adds more layouts * more boards added * more boards added * adds documentation for layouts * use lowercase names for LAYOUT_ * add layout.json files for each layout * add community folder, default keymaps for layouts * touch-up default layouts * touch-up layouts, some keyboard rules.mk * update documentation for layouts * fix up serial/i2c switches --- layouts/community/ergodox/333fred/README.md | 128 +++ layouts/community/ergodox/333fred/config.h | 11 + layouts/community/ergodox/333fred/keymap.c | 381 +++++++ layouts/community/ergodox/333fred/rules.mk | 8 + layouts/community/ergodox/333fred/visualizer.c | 33 + layouts/community/ergodox/ab/keyboard-layout.json | 387 +++++++ layouts/community/ergodox/ab/keymap.c | 155 +++ layouts/community/ergodox/ab/readme.md | 21 + layouts/community/ergodox/ab/rules.mk | 7 + layouts/community/ergodox/absenth/keymap.c | 183 ++++ layouts/community/ergodox/absenth/readme.md | 11 + layouts/community/ergodox/adam/config.h | 6 + layouts/community/ergodox/adam/keymap.c | 174 +++ layouts/community/ergodox/adam/readme.md | 3 + layouts/community/ergodox/adnw_k_o_y/keymap.c | 185 ++++ layouts/community/ergodox/adnw_k_o_y/readme.md | 7 + layouts/community/ergodox/albert/config.h | 12 + layouts/community/ergodox/albert/keymap.c | 661 ++++++++++++ layouts/community/ergodox/albert/readme.md | 188 ++++ layouts/community/ergodox/albert/rules.mk | 3 + layouts/community/ergodox/alexjj/keymap.c | 238 +++++ layouts/community/ergodox/alexjj/readme.md | 179 ++++ layouts/community/ergodox/algernon/COPYING | 674 ++++++++++++ layouts/community/ergodox/algernon/NEWS.md | 189 ++++ layouts/community/ergodox/algernon/config.h | 27 + layouts/community/ergodox/algernon/keymap.c | 1108 ++++++++++++++++++++ layouts/community/ergodox/algernon/readme.md | 149 +++ layouts/community/ergodox/algernon/rules.mk | 43 + .../algernon/tools/heatmap-layout.ADORE.json | 486 +++++++++ .../algernon/tools/heatmap-layout.Dvorak.json | 477 +++++++++ .../community/ergodox/algernon/tools/hid-commands | 80 ++ .../ergodox/algernon/tools/log-to-heatmap.py | 344 ++++++ .../ergodox/algernon/tools/text-to-log.py | 107 ++ layouts/community/ergodox/alphadox/config.h | 12 + layouts/community/ergodox/alphadox/keymap.c | 107 ++ layouts/community/ergodox/alphadox/rules.mk | 15 + layouts/community/ergodox/andrew_osx/keymap.c | 187 ++++ layouts/community/ergodox/belak/LICENSE | 21 + layouts/community/ergodox/belak/README.md | 79 ++ layouts/community/ergodox/belak/keymap.c | 368 +++++++ layouts/community/ergodox/belak/rules.mk | 4 + layouts/community/ergodox/belak/visualizer.c | 49 + layouts/community/ergodox/bepo/keymap.c | 368 +++++++ layouts/community/ergodox/bepo/readme.md | 36 + layouts/community/ergodox/bepo/rules.mk | 7 + layouts/community/ergodox/bepo_csa/keymap.c | 527 ++++++++++ layouts/community/ergodox/bepo_csa/readme.md | 162 +++ layouts/community/ergodox/bryan/keymap.c | 226 ++++ layouts/community/ergodox/coderkun_neo2/keymap.c | 320 ++++++ layouts/community/ergodox/coderkun_neo2/readme.md | 129 +++ layouts/community/ergodox/coderkun_neo2/rules.mk | 3 + layouts/community/ergodox/colemak/keymap.c | 184 ++++ layouts/community/ergodox/colemak/readme.md | 4 + .../community/ergodox/colemak_osx_pc_no/keymap.c | 264 +++++ .../community/ergodox/colemak_osx_pc_no/readme.md | 23 + .../community/ergodox/colemak_programmer/keymap.c | 256 +++++ .../community/ergodox/colemak_programmer/readme.md | 23 + .../community/ergodox/colemak_programmer/rules.mk | 1 + .../community/ergodox/common_nighthawk/keymap.c | 216 ++++ .../community/ergodox/common_nighthawk/rules.mk | 4 + layouts/community/ergodox/csharp_dev/keymap.c | 239 +++++ layouts/community/ergodox/csharp_dev/readme.md | 48 + layouts/community/ergodox/dave/keymap.c | 199 ++++ layouts/community/ergodox/dave/readme.md | 38 + layouts/community/ergodox/deadcyclo/keymap.c | 563 ++++++++++ layouts/community/ergodox/deadcyclo/readme.md | 79 ++ layouts/community/ergodox/deadcyclo/rules.mk | 1 + layouts/community/ergodox/dragon788/keymap.c | 229 ++++ layouts/community/ergodox/dvorak/dvorak.png.md | 1 + layouts/community/ergodox/dvorak/keymap.c | 184 ++++ layouts/community/ergodox/dvorak_emacs/keymap.c | 165 +++ layouts/community/ergodox/dvorak_emacs/readme.md | 70 ++ .../ergodox/dvorak_emacs_software/keymap.c | 166 +++ .../ergodox/dvorak_emacs_software/readme.md | 74 ++ .../ergodox/dvorak_intl_squisher/keymap.c | 185 ++++ .../ergodox/dvorak_intl_squisher/readme.md | 29 + layouts/community/ergodox/dvorak_plover/README.md | 14 + layouts/community/ergodox/dvorak_plover/keymap.c | 230 ++++ .../community/ergodox/dvorak_programmer/README.md | 39 + .../community/ergodox/dvorak_programmer/keymap.c | 406 +++++++ .../community/ergodox/dvorak_programmer/rules.mk | 8 + .../ergodox/dvorak_programmer_swe/keymap.c | 331 ++++++ .../ergodox/dvorak_programmer_swe/readme.md | 28 + layouts/community/ergodox/dvorak_spanish/keymap.c | 284 +++++ layouts/community/ergodox/dvorak_spanish/readme.md | 99 ++ layouts/community/ergodox/emacs_osx_dk/keymap.c | 184 ++++ layouts/community/ergodox/emacs_osx_dk/readme.md | 10 + .../community/ergodox/erez_experimental/config.h | 13 + .../community/ergodox/erez_experimental/keymap.c | 223 ++++ .../community/ergodox/erez_experimental/readme.md | 55 + .../community/ergodox/erez_experimental/rules.mk | 7 + layouts/community/ergodox/familiar/README.md | 69 ++ layouts/community/ergodox/familiar/keymap.c | 285 +++++ layouts/community/ergodox/familiar/rules.mk | 1 + layouts/community/ergodox/french_hacker/keymap.c | 365 +++++++ layouts/community/ergodox/french_hacker/readme.md | 30 + layouts/community/ergodox/galson/keymap.c | 183 ++++ layouts/community/ergodox/galson/readme.md | 11 + layouts/community/ergodox/galson/rules.mk | 2 + layouts/community/ergodox/german-kinergo/keymap.c | 210 ++++ layouts/community/ergodox/german-kinergo/readme.md | 35 + layouts/community/ergodox/german-lukas/README.md | 12 + layouts/community/ergodox/german-lukas/keymap.c | 236 +++++ .../ergodox/german-manuneo/compile_keymap.py | 710 +++++++++++++ layouts/community/ergodox/german-manuneo/keymap.c | 783 ++++++++++++++ layouts/community/ergodox/german-manuneo/keymap.md | 188 ++++ layouts/community/ergodox/german/keymap.c | 185 ++++ layouts/community/ergodox/guni/keymap.c | 177 ++++ layouts/community/ergodox/guni/readme.txt | 133 +++ layouts/community/ergodox/ishigoya-jp/keymap.c | 962 +++++++++++++++++ layouts/community/ergodox/ishigoya-jp/readme.md | 54 + layouts/community/ergodox/italian/keymap.c | 223 ++++ layouts/community/ergodox/italian/readme.md | 72 ++ layouts/community/ergodox/j3rn/keymap.c | 188 ++++ layouts/community/ergodox/j3rn/readme.md | 32 + layouts/community/ergodox/jack/config.h | 17 + layouts/community/ergodox/jack/keymap.c | 128 +++ layouts/community/ergodox/jacobono/keymap.c | 273 +++++ layouts/community/ergodox/jacobono/readme.md | 34 + layouts/community/ergodox/jafo/jafo-Notes | 10 + layouts/community/ergodox/jafo/jafo-layout.pdf | Bin 0 -> 185412 bytes layouts/community/ergodox/jafo/keymap.c | 183 ++++ layouts/community/ergodox/jafo/readme.md | 20 + layouts/community/ergodox/jgarr/keymap.c | 184 ++++ layouts/community/ergodox/josh/keymap.c | 214 ++++ layouts/community/ergodox/josh/readme.md | 8 + layouts/community/ergodox/kastyle/keymap.c | 189 ++++ layouts/community/ergodox/kastyle/readme.md | 14 + layouts/community/ergodox/kines-ish/keymap.c | 184 ++++ layouts/community/ergodox/kines-ish/readme.md | 19 + layouts/community/ergodox/kristian/keymap.c | 79 ++ layouts/community/ergodox/layout.json | 26 + layouts/community/ergodox/maz/keymap.c | 229 ++++ layouts/community/ergodox/maz/readme.md | 121 +++ layouts/community/ergodox/mclennon_osx/README.md | 5 + layouts/community/ergodox/mclennon_osx/keymap.c | 144 +++ layouts/community/ergodox/mpiechotka/keymap.c | 276 +++++ layouts/community/ergodox/mpiechotka/readme.md | 6 + layouts/community/ergodox/msc/keymap.c | 184 ++++ layouts/community/ergodox/msc/readme.md | 32 + layouts/community/ergodox/naps62/keymap.c | 187 ++++ layouts/community/ergodox/naps62/readme.md | 29 + .../ergodox/neo2_on_qwertz_hardware/keymap.c | 408 +++++++ .../ergodox/neo2_on_qwertz_hardware/keymap.md | 194 ++++ .../ergodox/norwegian_programmer_osx_pc/keymap.c | 180 ++++ .../ergodox/norwegian_programmer_osx_pc/readme.md | 30 + .../norwegian_programmer_osx_pc_colemak/keymap.c | 180 ++++ .../norwegian_programmer_osx_pc_colemak/readme.md | 30 + layouts/community/ergodox/ordinary/keymap.c | 504 +++++++++ .../community/ergodox/ordinary/ordinary-base.txt | 27 + .../community/ergodox/ordinary/ordinary-media.txt | 27 + .../ergodox/ordinary/ordinary-special.txt | 27 + .../community/ergodox/ordinary/ordinary-symbol.txt | 27 + layouts/community/ergodox/ordinary/readme.md | 101 ++ layouts/community/ergodox/osx_de/keymap.c | 364 +++++++ .../community/ergodox/osx_de/osx_de_highres.png.md | 1 + layouts/community/ergodox/osx_de/readme.md | 41 + layouts/community/ergodox/osx_de_adnw_koy/keymap.c | 174 +++ .../osx_de_adnw_koy/osx_de_adnw_koy_highres.png.md | 1 + .../community/ergodox/osx_de_experimental/keymap.c | 597 +++++++++++ .../osx_de_experimental_highres.png.md | 1 + .../ergodox/osx_de_experimental/readme.md | 22 + layouts/community/ergodox/osx_fr/keymap.c | 187 ++++ .../community/ergodox/osx_kinesis_pnut/keymap.c | 191 ++++ .../osx_whiskey_tango_foxtrot_capslock/keymap.c | 231 ++++ .../osx_whiskey_tango_foxtrot_capslock/readme.md | 38 + layouts/community/ergodox/phoenix/keymap.c | 184 ++++ layouts/community/ergodox/phoenix/readme.md | 10 + layouts/community/ergodox/plover/keymap.c | 228 ++++ layouts/community/ergodox/plums/keymap.c | 229 ++++ layouts/community/ergodox/plums/readme.md | 11 + layouts/community/ergodox/pvinis/Changelog.md | 7 + layouts/community/ergodox/pvinis/Readme.md | 65 ++ layouts/community/ergodox/pvinis/keymap.c | 475 +++++++++ layouts/community/ergodox/pvinis/rules.mk | 7 + layouts/community/ergodox/readme.md | 3 + layouts/community/ergodox/replicaJunction/config.h | 64 ++ layouts/community/ergodox/replicaJunction/keymap.c | 336 ++++++ .../community/ergodox/replicaJunction/readme.md | 5 + layouts/community/ergodox/reset_eeprom/keymap.c | 140 +++ .../community/ergodox/robot_test_layout/keymap.c | 151 +++ .../community/ergodox/robot_test_layout/readme.md | 5 + .../ergodox/romanzolotarev-norman-osx/keymap.c | 46 + .../ergodox/romanzolotarev-norman-osx/readme.md | 41 + .../romanzolotarev-norman-plover-osx-hjkl/keymap.c | 134 +++ .../readme.md | 50 + .../romanzolotarev-norman-plover-osx/keymap.c | 134 +++ .../romanzolotarev-norman-plover-osx/readme.md | 50 + .../romanzolotarev-norman-qwerty-osx/keymap.c | 74 ++ .../romanzolotarev-norman-qwerty-osx/readme.md | 34 + layouts/community/ergodox/sethbc/keymap.c | 102 ++ layouts/community/ergodox/sethbc/readme.md | 4 + layouts/community/ergodox/sethbc/rules.mk | 1 + layouts/community/ergodox/siroken3/default.png.md | 1 + .../ergodox/siroken3/default_highres.png.md | 1 + layouts/community/ergodox/siroken3/keymap.c | 187 ++++ layouts/community/ergodox/siroken3/readme.md | 15 + layouts/community/ergodox/sneako/keymap.c | 187 ++++ layouts/community/ergodox/sneako/readme.md | 6 + layouts/community/ergodox/software_neo2/keymap.c | 143 +++ layouts/community/ergodox/supercoder/config.h | 9 + layouts/community/ergodox/supercoder/keymap.c | 75 ++ layouts/community/ergodox/supercoder/makefile.mk | 6 + layouts/community/ergodox/supercoder/readme.md | 29 + layouts/community/ergodox/swedish-lindhe/keymap.c | 199 ++++ layouts/community/ergodox/swedish-lindhe/readme.md | 50 + layouts/community/ergodox/swedish/keymap.c | 247 +++++ layouts/community/ergodox/swedish/readme.md | 36 + .../ergodox/swissgerman/keyboard-layout.json | 419 ++++++++ .../ergodox/swissgerman/keyboard-layout_1_2.json | 436 ++++++++ layouts/community/ergodox/swissgerman/keymap.c | 287 +++++ layouts/community/ergodox/swissgerman/readme.md | 15 + layouts/community/ergodox/techtomas/keymap.c | 231 ++++ layouts/community/ergodox/techtomas/readme.md | 57 + layouts/community/ergodox/teckinesis/keymap.c | 455 ++++++++ .../ergodox/teckinesis/ordinary-special.png.md | 1 + .../ergodox/teckinesis/ordinary-special.txt | 27 + layouts/community/ergodox/teckinesis/readme.md | 45 + .../ergodox/teckinesis/teckinesis-base.json | 434 ++++++++ .../ergodox/teckinesis/teckinesis-media.json | 436 ++++++++ .../ergodox/teckinesis/teckinesis-symbol.json | 422 ++++++++ layouts/community/ergodox/tkuichooseyou/README.md | 13 + layouts/community/ergodox/tkuichooseyou/keymap.c | 184 ++++ layouts/community/ergodox/tm2030/keymap.c | 242 +++++ layouts/community/ergodox/tm2030/readme.md | 136 +++ layouts/community/ergodox/tonyabra_osx/keymap.c | 184 ++++ layouts/community/ergodox/tonyabra_osx/readme.md | 5 + layouts/community/ergodox/townk_osx/config.h | 44 + layouts/community/ergodox/townk_osx/keymap.c | 285 +++++ layouts/community/ergodox/townk_osx/makefile.mk | 2 + layouts/community/ergodox/townk_osx/readme.md | 77 ++ .../twentylives_dvorak_with_hebrew/keymap.c | 213 ++++ .../twentylives_dvorak_with_hebrew/readme.md | 10 + layouts/community/ergodox/twey/keymap.c | 222 ++++ layouts/community/ergodox/twey/readme.md | 17 + layouts/community/ergodox/videck/config.h | 13 + layouts/community/ergodox/videck/keymap.c | 179 ++++ layouts/community/ergodox/videck/readme.md | 26 + layouts/community/ergodox/videck/rules.mk | 17 + layouts/community/ergodox/videck/videck.json | 443 ++++++++ .../community/ergodox/win10_writers-block/config.h | 35 + .../community/ergodox/win10_writers-block/keymap.c | 324 ++++++ .../ergodox/win10_writers-block/readme.md | 113 ++ .../community/ergodox/win10_writers-block/rules.mk | 7 + layouts/community/ergodox/workman_osx_mdw/keymap.c | 366 +++++++ layouts/community/ergodox/xyverz/keymap.c | 312 ++++++ layouts/community/ergodox/xyverz/readme.md | 122 +++ .../ergodox/yoruian/90-ergodox-yoruian.conf | 6 + layouts/community/ergodox/yoruian/README | 102 ++ layouts/community/ergodox/yoruian/ergodox_yoruian | 34 + layouts/community/ergodox/yoruian/keymap.c | 61 ++ layouts/community/ergodox/yoruian/rules.mk | 11 + layouts/community/ergodox/yoruian/yoruian.h | 57 + layouts/community/ergodox/zweihander-osx/keymap.c | 233 ++++ .../ergodox/zweihander-osx/readme.markdown | 47 + layouts/community/ergodox/zweihander-osx/rules.mk | 2 + 256 files changed, 37175 insertions(+) create mode 100644 layouts/community/ergodox/333fred/README.md create mode 100644 layouts/community/ergodox/333fred/config.h create mode 100644 layouts/community/ergodox/333fred/keymap.c create mode 100644 layouts/community/ergodox/333fred/rules.mk create mode 100644 layouts/community/ergodox/333fred/visualizer.c create mode 100644 layouts/community/ergodox/ab/keyboard-layout.json create mode 100644 layouts/community/ergodox/ab/keymap.c create mode 100644 layouts/community/ergodox/ab/readme.md create mode 100644 layouts/community/ergodox/ab/rules.mk create mode 100644 layouts/community/ergodox/absenth/keymap.c create mode 100644 layouts/community/ergodox/absenth/readme.md create mode 100644 layouts/community/ergodox/adam/config.h create mode 100644 layouts/community/ergodox/adam/keymap.c create mode 100644 layouts/community/ergodox/adam/readme.md create mode 100644 layouts/community/ergodox/adnw_k_o_y/keymap.c create mode 100644 layouts/community/ergodox/adnw_k_o_y/readme.md create mode 100644 layouts/community/ergodox/albert/config.h create mode 100644 layouts/community/ergodox/albert/keymap.c create mode 100644 layouts/community/ergodox/albert/readme.md create mode 100644 layouts/community/ergodox/albert/rules.mk create mode 100644 layouts/community/ergodox/alexjj/keymap.c create mode 100644 layouts/community/ergodox/alexjj/readme.md create mode 100644 layouts/community/ergodox/algernon/COPYING create mode 100644 layouts/community/ergodox/algernon/NEWS.md create mode 100644 layouts/community/ergodox/algernon/config.h create mode 100644 layouts/community/ergodox/algernon/keymap.c create mode 100644 layouts/community/ergodox/algernon/readme.md create mode 100644 layouts/community/ergodox/algernon/rules.mk create mode 100644 layouts/community/ergodox/algernon/tools/heatmap-layout.ADORE.json create mode 100644 layouts/community/ergodox/algernon/tools/heatmap-layout.Dvorak.json create mode 100644 layouts/community/ergodox/algernon/tools/hid-commands create mode 100644 layouts/community/ergodox/algernon/tools/log-to-heatmap.py create mode 100644 layouts/community/ergodox/algernon/tools/text-to-log.py create mode 100644 layouts/community/ergodox/alphadox/config.h create mode 100644 layouts/community/ergodox/alphadox/keymap.c create mode 100644 layouts/community/ergodox/alphadox/rules.mk create mode 100644 layouts/community/ergodox/andrew_osx/keymap.c create mode 100644 layouts/community/ergodox/belak/LICENSE create mode 100644 layouts/community/ergodox/belak/README.md create mode 100644 layouts/community/ergodox/belak/keymap.c create mode 100644 layouts/community/ergodox/belak/rules.mk create mode 100644 layouts/community/ergodox/belak/visualizer.c create mode 100644 layouts/community/ergodox/bepo/keymap.c create mode 100644 layouts/community/ergodox/bepo/readme.md create mode 100644 layouts/community/ergodox/bepo/rules.mk create mode 100644 layouts/community/ergodox/bepo_csa/keymap.c create mode 100644 layouts/community/ergodox/bepo_csa/readme.md create mode 100644 layouts/community/ergodox/bryan/keymap.c create mode 100644 layouts/community/ergodox/coderkun_neo2/keymap.c create mode 100644 layouts/community/ergodox/coderkun_neo2/readme.md create mode 100644 layouts/community/ergodox/coderkun_neo2/rules.mk create mode 100644 layouts/community/ergodox/colemak/keymap.c create mode 100644 layouts/community/ergodox/colemak/readme.md create mode 100644 layouts/community/ergodox/colemak_osx_pc_no/keymap.c create mode 100644 layouts/community/ergodox/colemak_osx_pc_no/readme.md create mode 100644 layouts/community/ergodox/colemak_programmer/keymap.c create mode 100644 layouts/community/ergodox/colemak_programmer/readme.md create mode 100644 layouts/community/ergodox/colemak_programmer/rules.mk create mode 100644 layouts/community/ergodox/common_nighthawk/keymap.c create mode 100644 layouts/community/ergodox/common_nighthawk/rules.mk create mode 100644 layouts/community/ergodox/csharp_dev/keymap.c create mode 100644 layouts/community/ergodox/csharp_dev/readme.md create mode 100644 layouts/community/ergodox/dave/keymap.c create mode 100644 layouts/community/ergodox/dave/readme.md create mode 100644 layouts/community/ergodox/deadcyclo/keymap.c create mode 100644 layouts/community/ergodox/deadcyclo/readme.md create mode 100644 layouts/community/ergodox/deadcyclo/rules.mk create mode 100644 layouts/community/ergodox/dragon788/keymap.c create mode 100644 layouts/community/ergodox/dvorak/dvorak.png.md create mode 100644 layouts/community/ergodox/dvorak/keymap.c create mode 100644 layouts/community/ergodox/dvorak_emacs/keymap.c create mode 100644 layouts/community/ergodox/dvorak_emacs/readme.md create mode 100644 layouts/community/ergodox/dvorak_emacs_software/keymap.c create mode 100644 layouts/community/ergodox/dvorak_emacs_software/readme.md create mode 100644 layouts/community/ergodox/dvorak_intl_squisher/keymap.c create mode 100644 layouts/community/ergodox/dvorak_intl_squisher/readme.md create mode 100644 layouts/community/ergodox/dvorak_plover/README.md create mode 100644 layouts/community/ergodox/dvorak_plover/keymap.c create mode 100644 layouts/community/ergodox/dvorak_programmer/README.md create mode 100644 layouts/community/ergodox/dvorak_programmer/keymap.c create mode 100644 layouts/community/ergodox/dvorak_programmer/rules.mk create mode 100644 layouts/community/ergodox/dvorak_programmer_swe/keymap.c create mode 100644 layouts/community/ergodox/dvorak_programmer_swe/readme.md create mode 100644 layouts/community/ergodox/dvorak_spanish/keymap.c create mode 100644 layouts/community/ergodox/dvorak_spanish/readme.md create mode 100644 layouts/community/ergodox/emacs_osx_dk/keymap.c create mode 100644 layouts/community/ergodox/emacs_osx_dk/readme.md create mode 100644 layouts/community/ergodox/erez_experimental/config.h create mode 100644 layouts/community/ergodox/erez_experimental/keymap.c create mode 100644 layouts/community/ergodox/erez_experimental/readme.md create mode 100644 layouts/community/ergodox/erez_experimental/rules.mk create mode 100644 layouts/community/ergodox/familiar/README.md create mode 100644 layouts/community/ergodox/familiar/keymap.c create mode 100644 layouts/community/ergodox/familiar/rules.mk create mode 100644 layouts/community/ergodox/french_hacker/keymap.c create mode 100644 layouts/community/ergodox/french_hacker/readme.md create mode 100644 layouts/community/ergodox/galson/keymap.c create mode 100644 layouts/community/ergodox/galson/readme.md create mode 100644 layouts/community/ergodox/galson/rules.mk create mode 100644 layouts/community/ergodox/german-kinergo/keymap.c create mode 100644 layouts/community/ergodox/german-kinergo/readme.md create mode 100644 layouts/community/ergodox/german-lukas/README.md create mode 100644 layouts/community/ergodox/german-lukas/keymap.c create mode 100644 layouts/community/ergodox/german-manuneo/compile_keymap.py create mode 100644 layouts/community/ergodox/german-manuneo/keymap.c create mode 100644 layouts/community/ergodox/german-manuneo/keymap.md create mode 100644 layouts/community/ergodox/german/keymap.c create mode 100644 layouts/community/ergodox/guni/keymap.c create mode 100644 layouts/community/ergodox/guni/readme.txt create mode 100644 layouts/community/ergodox/ishigoya-jp/keymap.c create mode 100644 layouts/community/ergodox/ishigoya-jp/readme.md create mode 100644 layouts/community/ergodox/italian/keymap.c create mode 100644 layouts/community/ergodox/italian/readme.md create mode 100644 layouts/community/ergodox/j3rn/keymap.c create mode 100644 layouts/community/ergodox/j3rn/readme.md create mode 100644 layouts/community/ergodox/jack/config.h create mode 100644 layouts/community/ergodox/jack/keymap.c create mode 100644 layouts/community/ergodox/jacobono/keymap.c create mode 100644 layouts/community/ergodox/jacobono/readme.md create mode 100644 layouts/community/ergodox/jafo/jafo-Notes create mode 100644 layouts/community/ergodox/jafo/jafo-layout.pdf create mode 100644 layouts/community/ergodox/jafo/keymap.c create mode 100644 layouts/community/ergodox/jafo/readme.md create mode 100644 layouts/community/ergodox/jgarr/keymap.c create mode 100644 layouts/community/ergodox/josh/keymap.c create mode 100644 layouts/community/ergodox/josh/readme.md create mode 100644 layouts/community/ergodox/kastyle/keymap.c create mode 100644 layouts/community/ergodox/kastyle/readme.md create mode 100644 layouts/community/ergodox/kines-ish/keymap.c create mode 100644 layouts/community/ergodox/kines-ish/readme.md create mode 100644 layouts/community/ergodox/kristian/keymap.c create mode 100644 layouts/community/ergodox/layout.json create mode 100644 layouts/community/ergodox/maz/keymap.c create mode 100644 layouts/community/ergodox/maz/readme.md create mode 100644 layouts/community/ergodox/mclennon_osx/README.md create mode 100644 layouts/community/ergodox/mclennon_osx/keymap.c create mode 100644 layouts/community/ergodox/mpiechotka/keymap.c create mode 100644 layouts/community/ergodox/mpiechotka/readme.md create mode 100644 layouts/community/ergodox/msc/keymap.c create mode 100644 layouts/community/ergodox/msc/readme.md create mode 100644 layouts/community/ergodox/naps62/keymap.c create mode 100644 layouts/community/ergodox/naps62/readme.md create mode 100644 layouts/community/ergodox/neo2_on_qwertz_hardware/keymap.c create mode 100644 layouts/community/ergodox/neo2_on_qwertz_hardware/keymap.md create mode 100644 layouts/community/ergodox/norwegian_programmer_osx_pc/keymap.c create mode 100644 layouts/community/ergodox/norwegian_programmer_osx_pc/readme.md create mode 100644 layouts/community/ergodox/norwegian_programmer_osx_pc_colemak/keymap.c create mode 100644 layouts/community/ergodox/norwegian_programmer_osx_pc_colemak/readme.md create mode 100644 layouts/community/ergodox/ordinary/keymap.c create mode 100644 layouts/community/ergodox/ordinary/ordinary-base.txt create mode 100644 layouts/community/ergodox/ordinary/ordinary-media.txt create mode 100644 layouts/community/ergodox/ordinary/ordinary-special.txt create mode 100644 layouts/community/ergodox/ordinary/ordinary-symbol.txt create mode 100644 layouts/community/ergodox/ordinary/readme.md create mode 100644 layouts/community/ergodox/osx_de/keymap.c create mode 100644 layouts/community/ergodox/osx_de/osx_de_highres.png.md create mode 100644 layouts/community/ergodox/osx_de/readme.md create mode 100644 layouts/community/ergodox/osx_de_adnw_koy/keymap.c create mode 100644 layouts/community/ergodox/osx_de_adnw_koy/osx_de_adnw_koy_highres.png.md create mode 100644 layouts/community/ergodox/osx_de_experimental/keymap.c create mode 100644 layouts/community/ergodox/osx_de_experimental/osx_de_experimental_highres.png.md create mode 100644 layouts/community/ergodox/osx_de_experimental/readme.md create mode 100644 layouts/community/ergodox/osx_fr/keymap.c create mode 100644 layouts/community/ergodox/osx_kinesis_pnut/keymap.c create mode 100644 layouts/community/ergodox/osx_whiskey_tango_foxtrot_capslock/keymap.c create mode 100644 layouts/community/ergodox/osx_whiskey_tango_foxtrot_capslock/readme.md create mode 100644 layouts/community/ergodox/phoenix/keymap.c create mode 100644 layouts/community/ergodox/phoenix/readme.md create mode 100644 layouts/community/ergodox/plover/keymap.c create mode 100644 layouts/community/ergodox/plums/keymap.c create mode 100644 layouts/community/ergodox/plums/readme.md create mode 100644 layouts/community/ergodox/pvinis/Changelog.md create mode 100644 layouts/community/ergodox/pvinis/Readme.md create mode 100644 layouts/community/ergodox/pvinis/keymap.c create mode 100644 layouts/community/ergodox/pvinis/rules.mk create mode 100644 layouts/community/ergodox/readme.md create mode 100644 layouts/community/ergodox/replicaJunction/config.h create mode 100644 layouts/community/ergodox/replicaJunction/keymap.c create mode 100644 layouts/community/ergodox/replicaJunction/readme.md create mode 100644 layouts/community/ergodox/reset_eeprom/keymap.c create mode 100644 layouts/community/ergodox/robot_test_layout/keymap.c create mode 100644 layouts/community/ergodox/robot_test_layout/readme.md create mode 100644 layouts/community/ergodox/romanzolotarev-norman-osx/keymap.c create mode 100644 layouts/community/ergodox/romanzolotarev-norman-osx/readme.md create mode 100644 layouts/community/ergodox/romanzolotarev-norman-plover-osx-hjkl/keymap.c create mode 100644 layouts/community/ergodox/romanzolotarev-norman-plover-osx-hjkl/readme.md create mode 100644 layouts/community/ergodox/romanzolotarev-norman-plover-osx/keymap.c create mode 100644 layouts/community/ergodox/romanzolotarev-norman-plover-osx/readme.md create mode 100644 layouts/community/ergodox/romanzolotarev-norman-qwerty-osx/keymap.c create mode 100644 layouts/community/ergodox/romanzolotarev-norman-qwerty-osx/readme.md create mode 100644 layouts/community/ergodox/sethbc/keymap.c create mode 100644 layouts/community/ergodox/sethbc/readme.md create mode 100644 layouts/community/ergodox/sethbc/rules.mk create mode 100644 layouts/community/ergodox/siroken3/default.png.md create mode 100644 layouts/community/ergodox/siroken3/default_highres.png.md create mode 100644 layouts/community/ergodox/siroken3/keymap.c create mode 100644 layouts/community/ergodox/siroken3/readme.md create mode 100644 layouts/community/ergodox/sneako/keymap.c create mode 100644 layouts/community/ergodox/sneako/readme.md create mode 100644 layouts/community/ergodox/software_neo2/keymap.c create mode 100644 layouts/community/ergodox/supercoder/config.h create mode 100644 layouts/community/ergodox/supercoder/keymap.c create mode 100644 layouts/community/ergodox/supercoder/makefile.mk create mode 100644 layouts/community/ergodox/supercoder/readme.md create mode 100644 layouts/community/ergodox/swedish-lindhe/keymap.c create mode 100644 layouts/community/ergodox/swedish-lindhe/readme.md create mode 100644 layouts/community/ergodox/swedish/keymap.c create mode 100644 layouts/community/ergodox/swedish/readme.md create mode 100644 layouts/community/ergodox/swissgerman/keyboard-layout.json create mode 100644 layouts/community/ergodox/swissgerman/keyboard-layout_1_2.json create mode 100644 layouts/community/ergodox/swissgerman/keymap.c create mode 100644 layouts/community/ergodox/swissgerman/readme.md create mode 100644 layouts/community/ergodox/techtomas/keymap.c create mode 100644 layouts/community/ergodox/techtomas/readme.md create mode 100644 layouts/community/ergodox/teckinesis/keymap.c create mode 100644 layouts/community/ergodox/teckinesis/ordinary-special.png.md create mode 100644 layouts/community/ergodox/teckinesis/ordinary-special.txt create mode 100644 layouts/community/ergodox/teckinesis/readme.md create mode 100644 layouts/community/ergodox/teckinesis/teckinesis-base.json create mode 100644 layouts/community/ergodox/teckinesis/teckinesis-media.json create mode 100644 layouts/community/ergodox/teckinesis/teckinesis-symbol.json create mode 100644 layouts/community/ergodox/tkuichooseyou/README.md create mode 100644 layouts/community/ergodox/tkuichooseyou/keymap.c create mode 100644 layouts/community/ergodox/tm2030/keymap.c create mode 100644 layouts/community/ergodox/tm2030/readme.md create mode 100644 layouts/community/ergodox/tonyabra_osx/keymap.c create mode 100644 layouts/community/ergodox/tonyabra_osx/readme.md create mode 100644 layouts/community/ergodox/townk_osx/config.h create mode 100644 layouts/community/ergodox/townk_osx/keymap.c create mode 100644 layouts/community/ergodox/townk_osx/makefile.mk create mode 100644 layouts/community/ergodox/townk_osx/readme.md create mode 100644 layouts/community/ergodox/twentylives_dvorak_with_hebrew/keymap.c create mode 100644 layouts/community/ergodox/twentylives_dvorak_with_hebrew/readme.md create mode 100644 layouts/community/ergodox/twey/keymap.c create mode 100644 layouts/community/ergodox/twey/readme.md create mode 100644 layouts/community/ergodox/videck/config.h create mode 100644 layouts/community/ergodox/videck/keymap.c create mode 100644 layouts/community/ergodox/videck/readme.md create mode 100644 layouts/community/ergodox/videck/rules.mk create mode 100644 layouts/community/ergodox/videck/videck.json create mode 100644 layouts/community/ergodox/win10_writers-block/config.h create mode 100644 layouts/community/ergodox/win10_writers-block/keymap.c create mode 100644 layouts/community/ergodox/win10_writers-block/readme.md create mode 100644 layouts/community/ergodox/win10_writers-block/rules.mk create mode 100644 layouts/community/ergodox/workman_osx_mdw/keymap.c create mode 100644 layouts/community/ergodox/xyverz/keymap.c create mode 100644 layouts/community/ergodox/xyverz/readme.md create mode 100644 layouts/community/ergodox/yoruian/90-ergodox-yoruian.conf create mode 100644 layouts/community/ergodox/yoruian/README create mode 100644 layouts/community/ergodox/yoruian/ergodox_yoruian create mode 100644 layouts/community/ergodox/yoruian/keymap.c create mode 100644 layouts/community/ergodox/yoruian/rules.mk create mode 100644 layouts/community/ergodox/yoruian/yoruian.h create mode 100644 layouts/community/ergodox/zweihander-osx/keymap.c create mode 100644 layouts/community/ergodox/zweihander-osx/readme.markdown create mode 100644 layouts/community/ergodox/zweihander-osx/rules.mk (limited to 'layouts/community/ergodox') diff --git a/layouts/community/ergodox/333fred/README.md b/layouts/community/ergodox/333fred/README.md new file mode 100644 index 0000000000..f7b4ca42f4 --- /dev/null +++ b/layouts/community/ergodox/333fred/README.md @@ -0,0 +1,128 @@ +## Layout + +### Keymap 0: Basic layer +``` +,--------------------------------------------------. ,--------------------------------------------------. +| ` | 1 | 2 | 3 | 4 | 5 | = | | L1 | 6 | 7 | 8 | 9 | 0 | - | +|--------+------+------+------+------+-------------| |------+------+------+------+------+------+--------| +| TAB | Q | W | E | R | T | L2 | | L2 | Y | U | I | O | P | \ | +|--------+------+------+------+------+------| | | |------+------+------+------+------+--------| +| Esc | A | S | D |LT 3,F| G |------| |------| H | J | K | L |; / : | ' | +|--------+------+------+------+------+------| L1 | |TT(3) |------+------+------+------+------+--------| +| LShift |Z/Ctrl| X | C | V | B | | | | N | M | , | . |//Ctrl| RShift | +`--------+------+------+------+------+-------------' `-------------+------+------+------+------+--------' + |LCTRL | F4 | F5 | LGUI | LALT | | Left | Down | Up | Right| RGUI | + `----------------------------------' `----------------------------------' + ,-------------. ,-------------. + | Copy | Paste| | Alt |Ctrl/Esc| + ,------|------|------| |------+--------+------. + | | | PgUp | | PgDn | | | + | Bcksp|OSL(2)|------| |------| Ent |Space | + | | | Del | |OSL(2)| | | + `--------------------' `----------------------' +``` +* Double-click `;` to get a `:` +* Press-and-hold `f` to go to the movement layer + +### Keymap 1: Code Layer +``` +,--------------------------------------------------. ,--------------------------------------------------. +| | | | | | | | | | | | | | | | +|--------+------+------+------+------+-------------| |------+------+------+------+------+------+--------| +| | | | | | | F10 | | F11 | | | | | | | +|--------+------+------+------+------+------| | | |------+------+------+------+------+--------| +| | | | | | |------| |------| | | | | | | +|--------+------+------+------+------+------| L2 | | |------+------+------+------+------+--------| +| | | | | | | | | | | | | | | | +`--------+------+------+------+------+-------------' `-------------+------+------+------+------+--------' + | | | | | | | F12 |GoToIm| FAR | | | + `----------------------------------' `----------------------------------' + ,-------------. ,---------------. + |Format|Build | | Test | DTest | + ,------|------|------| |------+--------+------. + | | |Refact| |Sort U| | | + | | |------| |------| | | + | | | | | | | | + `--------------------' `----------------------' +``` +* Build - Visualt Studio Build Solution. Sends `CTRL + SHFT + B` +* DTest - Visual Studio Debug Test. Sends `CTRL + R, CTRL + T` +* FAR - Visual Studio Find All References. Sends `CTRL + K, R` +* Format - Visual Studio Format. Sends `CTRL + K, CTRL + D` +* GoToIm - Visual Studio Go To Implementation. Sends `CTRL + F12` +* Refact - Visual Studio Refactor. Sends `CTRL + R, R` +* Sort U - Visual Studio Sort Usings. Sends `CTRL + R, CTRL + G` +* Test - Visual Studio Run Test. Sends `CTRL + R, T` + + +### Keymap 2: Symbol Layer +``` +,---------------------------------------------------. ,--------------------------------------------------. +|Version | F1 | F2 | F3 | F4 | F5 | | | | F6 | F7 | F8 | F9 | F10 | F11 | +|---------+------+------+------+------+------+------| |------+------+------+------+------+------+--------| +| | ! | @ | ( | ) | | | | | | Up | 7 | 8 | 9 | * | F12 | +|---------+------+------+------+------+------| | | |------+------+------+------+------+--------| +| | # | $ | { | } | ` |------| |------| Down | 4 | 5 | 6 | + | | +|---------+------+------+------+------+------| | | |------+------+------+------+------+--------| +| | % | ^ | [ | ] | ~ | | | | & | 1 | 2 | 3 | \ | | +`---------+------+------+------+------+-------------' `-------------+------+------+------+------+--------' + | EPRM | | | | | | 0 | 0 | . | = | | + `-----------------------------------' `----------------------------------' + ,-------------. ,-------------. + | | Caps | | | | + ,------|------|------| |------+------+------. + | | |APscr | | | | | + | | |------| |------| | | + | | | PScr | | | | | + `--------------------' `--------------------' +``` +* APscr - Take a printscreen of the current app. Sends `Alt + Print Screen` + +### Keymap 3: Media and Mouse Keys +``` +,--------------------------------------------------. ,--------------------------------------------------. +| | | | | | | | | | | | | | | | +|--------+------+------+------+------+-------------| |------+------+------+------+------+------+--------| +| | | | MsUp | | | | | | | | | | | | +|--------+------+------+------+------+------| | | |------+------+------+------+------+--------| +| | |MsLeft|MsDown|MsRght| |------| |------| | | | | | | +|--------+------+------+------+------+------| | | |------+------+------+------+------+--------| +| | | | | | | | | | | | | | | | +`--------+------+------+------+------+-------------' `-------------+------+------+------+------+--------' + | | | | Lclk | Rclk | | | | | | | + `----------------------------------' `----------------------------------' + ,-------------. ,-------------. + | Back+| Back-| | Vol+ | | + ,------|------|------| |------+------+------. + | | |BL_TOG| | Vol- | | | + | | |------| |------| PL/PS| Next | + | | | | | Back | | | + `--------------------' `--------------------' +``` + +### Keymap 4: Movement +``` +,--------------------------------------------------. ,--------------------------------------------------. +| | | | | | | | | | | | | | | | +|--------+------+------+------+------+-------------| |------+------+------+------+------+------+--------| +| |KOpen |KType | | | | | | | Copy | | | | Paste| | +|--------+------+------+------+------+------| | | |------+------+------+------+------+--------| +| |DLeft |DRight| LCTL | | |------| |------| Left | Down | Up | Right| | | +|--------+------+------+------+------+------| | | |------+------+------+------+------+--------| +| |SFT_TB| Tab | | | | | | | | | | | | | +`--------+------+------+------+------+-------------' `-------------+------+------+------+------+--------' + | | | | | | | | | | | | + `----------------------------------' `----------------------------------' + ,-------------. ,-------------. + | | | | Home | End | + ,------|------|------| |------+------+------. + | | | | | | | | + | | LSFT |------| |------| | | + | | | | | | | | + `--------------------' `--------------------' +``` +* DLeft - Move to the left Desktop. Sends `Ctrl + Win + Left Arrow` +* DRight - Move to the right Desktop. Sends `Ctrl + Win + Right Arrow` +* KOpen - Opens KeePass. Sends `Ctrl + Alt + k` +* KType - Autotypes KeePass password. Sends `Ctrl + Alt + a` +* SFT_TB - Sends `CTRL + TAB`. diff --git a/layouts/community/ergodox/333fred/config.h b/layouts/community/ergodox/333fred/config.h new file mode 100644 index 0000000000..6a03446e03 --- /dev/null +++ b/layouts/community/ergodox/333fred/config.h @@ -0,0 +1,11 @@ +#ifndef CONFIG_H_ +#define CONFIG_H_ + +#include QMK_KEYBOARD_CONFIG_H + +#undef TAPPING_TERM +#define TAPPING_TERM 150 + +#define PERMISSIVE_HOLD + +#endif diff --git a/layouts/community/ergodox/333fred/keymap.c b/layouts/community/ergodox/333fred/keymap.c new file mode 100644 index 0000000000..3fac44e398 --- /dev/null +++ b/layouts/community/ergodox/333fred/keymap.c @@ -0,0 +1,381 @@ +#include QMK_KEYBOARD_H +#include "debug.h" +#include "action_layer.h" +#include "version.h" + +#define BASE 0 // default layer +#define CODE 1 // code layer +#define SYMB 2 // symbols +#define MDIA 3 // media keys +#define MOVE 4 // movement layer + +enum custom_keycodes { + PLACEHOLDER = SAFE_RANGE, // can always be here + EPRM, + VRSN, +}; + +enum custom_macros { + VERSION, + EEPROM, + + // Windows macros + DLEFT, + DRIGHT, + PSCREEN_APP, + LSFT_TAB, + + // VS Macros + REFACTOR, + TEST, + DEBUG_TEST, + FORMAT, + BUILD, + GO_TO_IMPL, + FIND_ALL_REF, + REMOVE_SORT_USINGS, + + // KeePass macros + KEEPASS_OPEN, + KEEPASS_TYPE, +}; + +// NOTE: Cells marked with ACCESS must remain transparent, they're the keys that actually get to that layer + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { +/* Keymap 0: Basic layer + * + * ,--------------------------------------------------. ,--------------------------------------------------. + * | ` | 1 | 2 | 3 | 4 | 5 | = | | L1 | 6 | 7 | 8 | 9 | 0 | - | + * |--------+------+------+------+------+-------------| |------+------+------+------+------+------+--------| + * | TAB | Q | W | E | R | T | L2 | | L2 | Y | U | I | O | P | \ | + * |--------+------+------+------+------+------| | | |------+------+------+------+------+--------| + * | Esc | A | S | D |LT 3,F| G |------| |------| H | J | K | L | ; | ' | + * |--------+------+------+------+------+------| L1 | |MO(3) |------+------+------+------+------+--------| + * | LShift |Z/Ctrl| X | C | V | B | | | | N | M | , | . |//Ctrl| RShift | + * `--------+------+------+------+------+-------------' `-------------+------+------+------+------+--------' + * |LCTRL | F4 | F5 | LGUI | LALT | | Left | Down | Up | Right| RGUI | + * `----------------------------------' `----------------------------------' + * ,-------------. ,-------------. + * | Copy | Paste| | Alt | Lock | + * ,------|------|------| |------+--------+------. + * | | | PgUp | | PgDn | | | + * | Bcksp|OSL(2)|------| |------| Ent |Space | + * | | | Del | | RCtrl| | | + * `--------------------' `----------------------' + */ +// If it accepts an argument (i.e, is a function), it doesn't need KC_. +// Otherwise, it needs KC_* +[BASE] = LAYOUT_ergodox( // layer 0 : default + // left hand + KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_EQL, + KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, TG(SYMB), + KC_ESC, KC_A, KC_S, KC_D, LT(MOVE, KC_F),KC_G, + OSM(MOD_LSFT), CTL_T(KC_Z), KC_X, KC_C, KC_V, KC_B, TG(CODE), + OSM(MOD_LCTL), KC_F4, KC_F5, KC_LGUI,KC_LALT, + LCTL(KC_C),LCTL(KC_V), + KC_PGUP, + KC_BSPC,OSL(SYMB), KC_DEL, + // right hand + TG(CODE), KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, + TG(SYMB), KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSLS, + KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, + MO(MDIA), KC_N, KC_M, KC_COMM,KC_DOT, CTL_T(KC_SLSH), OSM(MOD_RSFT), + KC_LEFT,KC_DOWN,KC_UP, KC_RIGHT, KC_RGUI, + KC_RALT, KC_LOCK, + KC_PGDN, + KC_RCTL, KC_ENT, KC_SPC + ), +/* Keymap 1: Code Layer + * + * ,--------------------------------------------------. ,--------------------------------------------------. + * | | | | | | | | |ACCESS| | | | | | | + * |--------+------+------+------+------+-------------| |------+------+------+------+------+------+--------| + * | | | | | | | F10 | | F11 | | | | | | | + * |--------+------+------+------+------+------| | | |------+------+------+------+------+--------| + * | | | | | | |------| |------| | | | | | | + * |--------+------+------+------+------+------| L2 | | |------+------+------+------+------+--------| + * | | | | | | | | | | | | | | | | + * `--------+------+------+------+------+-------------' `-------------+------+------+------+------+--------' + * | | | | | | | F12 |GoToIm| FAR | | | + * `----------------------------------' `----------------------------------' + * ,-------------. ,---------------. + * |Format|Build | | Test | DTest | + * ,------|------|------| |------+--------+------. + * | | |Refact| |Sort U| | | + * | | |------| |------| | | + * | | | | | | | | + * `--------------------' `----------------------' + */ +// If it accepts an argument (i.e, is a function), it doesn't need KC_. +// Otherwise, it needs KC_* +[CODE] = LAYOUT_ergodox( // layer 1 : code + // left hand + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_F10, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, TG(SYMB), + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + M(FORMAT),M(BUILD), + M(REFACTOR), + KC_TRNS, KC_TRNS, KC_TRNS, + // right hand + + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_F11, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_F12, M(GO_TO_IMPL),M(FIND_ALL_REF),KC_TRNS, KC_TRNS, + M(TEST), M(DEBUG_TEST), + M(REMOVE_SORT_USINGS), + KC_TRNS, KC_TRNS, KC_TRNS + ), +/* Keymap 2: Symbol Layer + * + * ,---------------------------------------------------. ,--------------------------------------------------. + * |Version | F1 | F2 | F3 | F4 | F5 | | | | F6 | F7 | F8 | F9 | F10 | F11 | + * |---------+------+------+------+------+------+------| |------+------+------+------+------+------+--------| + * | | ! | @ | ( | ) | | |ACCESS| |ACCESS| Up | 7 | 8 | 9 | * | F12 | + * |---------+------+------+------+------+------| | | |------+------+------+------+------+--------| + * | | # | $ | { | } | ` |------| |------| Down | 4 | 5 | 6 | + | | + * |---------+------+------+------+------+------|ACCESS| | |------+------+------+------+------+--------| + * | | % | ^ | [ | ] | ~ | | | | & | 1 | 2 | 3 | \ | | + * `---------+------+------+------+------+-------------' `-------------+------+------+------+------+--------' + * | EPRM | | | | | | 0 | 0 | . | = | | + * `-----------------------------------' `----------------------------------' + * ,-------------. ,-------------. + * | | Caps | | | | + * ,------|------|------| |------+------+------. + * | | |APScr | | | | | + * | |ACCESS|------| |------| | | + * | | | PScr | |ACCESS| | | + * `--------------------' `--------------------' + */ +// SYMBOLS +[SYMB] = LAYOUT_ergodox( + // left hand + VRSN, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_TRNS, + KC_TRNS,KC_EXLM,KC_AT, KC_LPRN,KC_RPRN,KC_PIPE,KC_TRNS, + KC_TRNS,KC_HASH,KC_DLR, KC_LCBR,KC_RCBR,KC_GRV, + KC_TRNS,KC_PERC,KC_CIRC,KC_LBRC,KC_RBRC,KC_TILD,KC_TRNS, + EPRM,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS, + KC_TRNS,KC_CAPS, + M(PSCREEN_APP), + KC_TRNS,KC_TRNS,KC_PSCR, + // right hand + KC_TRNS, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, + KC_TRNS, KC_UP, KC_7, KC_8, KC_9, KC_ASTR, KC_F12, + KC_DOWN, KC_4, KC_5, KC_6, KC_PLUS, KC_TRNS, + KC_TRNS, KC_AMPR, KC_1, KC_2, KC_3, KC_BSLS, KC_TRNS, + KC_0, KC_0, KC_DOT, KC_EQL, KC_TRNS, + KC_TRNS, KC_TRNS, + KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS +), +/* Keymap 3: Media and mouse keys + * + * ,--------------------------------------------------. ,--------------------------------------------------. + * | | | | | | | | | | | | | | | | + * |--------+------+------+------+------+-------------| |------+------+------+------+------+------+--------| + * | | | | MsUp | | | | | | | | | | | | + * |--------+------+------+------+------+------| | | |------+------+------+------+------+--------| + * | | |MsLeft|MsDown|MsRght| |------| |------| | | | | | | + * |--------+------+------+------+------+------| | |ACCESS|------+------+------+------+------+--------| + * | | | | | | | | | | | | | | | | + * `--------+------+------+------+------+-------------' `-------------+------+------+------+------+--------' + * | | | | Lclk | Rclk | | | | | | | + * `----------------------------------' `----------------------------------' + * ,-------------. ,-------------. + * | Back+| Back-| | Vol+ | | + * ,------|------|------| |------+------+------. + * | | |BackTg| | Vol- | | | + * | | |------| |------| PL/PS| Next | + * | | | | | Back | | | + * `--------------------' `--------------------' + */ +// MEDIA AND MOUSE +[MDIA] = LAYOUT_ergodox( + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_MS_U, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_MS_L, KC_MS_D, KC_MS_R, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_BTN1, KC_BTN2, + BL_INC, BL_DEC, + BL_TOGG, + KC_TRNS, KC_TRNS, KC_TRNS, + // right hand + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_VOLU, KC_TRNS, + KC_VOLD, + KC_MPRV, KC_MPLY, KC_MNXT +), +/* Keymap 4: Movement + * + * ,--------------------------------------------------. ,--------------------------------------------------. + * | | | | | | | | | | | | | | | | + * |--------+------+------+------+------+-------------| |------+------+------+------+------+------+--------| + * | |KOpen |KType | | | | | | | Copy | | | | Paste| | + * |--------+------+------+------+------+------| | | |------+------+------+------+------+--------| + * | |DLeft |DRight|LCTRL |ACCESS| |------| |------| Left | Down | Up | Right| | | + * |--------+------+------+------+------+------| | | |------+------+------+------+------+--------| + * | |SFT_TB| TAB | | | | | | | | | | | | | + * `--------+------+------+------+------+-------------' `-------------+------+------+------+------+--------' + * | | | | | | | | | | | | + * `----------------------------------' `----------------------------------' + * ,-------------. ,-------------. + * | | | | Home | End | + * ,------|------|------| |------+------+------. + * | | | | | | | | + * | |LSHIFT|------| |------| | | + * | | | | | | | | + * `--------------------' `--------------------' + */ +// MEDIA AND MOUSE +[MOVE] = LAYOUT_ergodox( + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, M(KEEPASS_OPEN),M(KEEPASS_TYPE),KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, M(DLEFT), M(DRIGHT), KC_LCTL, KC_TRNS, KC_TRNS, + KC_TRNS, M(LSFT_TAB), KC_TAB, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, + KC_TRNS, + KC_TRNS, KC_LSFT, KC_TRNS, + // right hand + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, LCTL(KC_C),KC_TRNS, KC_TRNS, KC_TRNS, LCTL(KC_V),KC_TRNS, + KC_LEFT, KC_DOWN, KC_UP, KC_RIGHT,KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_HOME, KC_END, + KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS + +) +}; + +const uint16_t PROGMEM fn_actions[] = { + [1] = ACTION_LAYER_TAP_TOGGLE(SYMB) // FN1 - Momentary Layer 1 (Symbols) +}; + +const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) +{ + // MACRODOWN only works in this function + switch(id) { + case VERSION: + if (record->event.pressed) { + SEND_STRING (QMK_KEYBOARD "/" QMK_KEYMAP " @ " QMK_VERSION); + } + break; + case EEPROM: + if (record->event.pressed) { // For resetting EEPROM + eeconfig_init(); + } + break; + case DLEFT: + if (record->event.pressed) { // Windows move desktop left + return MACRO(D(LCTL), D(LGUI), T(LEFT), U(LGUI), U(LCTL), END); + } + break; + case DRIGHT: + if (record->event.pressed) { // Windows move desktop right + return MACRO(D(LCTL), D(LGUI), T(RIGHT), U(LGUI), U(LCTL), END); + } + break; + case PSCREEN_APP: + if (record->event.pressed) { + return MACRO(D(LALT), T(PSCR), U(LALT), END); + } + break; + case LSFT_TAB: + if (record->event.pressed) { + return MACRO(D(LSFT), T(TAB), U(LSFT), END); + } + case REFACTOR: + if (record->event.pressed) { // VS Refactor CTRL+R, R + return MACRO(D(LCTL), T(R), U(LCTL), T(R), END); + } + break; + case TEST: + if (record->event.pressed) { // VS Run Tests CTRL+R, T + return MACRO(D(LCTL), T(R), U(LCTL), T(T), END); + } + break; + case DEBUG_TEST: + if (record->event.pressed) { // VS Debug Tests CTRL+R, CTRL+T + return MACRO(D(LCTL), T(R), T(T), U(LCTL), END); + } + break; + case FORMAT: + if (record->event.pressed) { // VS Format Document, CTRL+K, CTRL+D + return MACRO(D(LCTL), T(K), T(D), U(LCTL), END); + } + break; + case BUILD: + if (record->event.pressed) { // VS Build. Sends CTRL+SHFT+B + return MACRO(D(LCTL), D(LSFT), T(B), U(LSFT), U(LCTL), END); + } + break; + case GO_TO_IMPL: + if (record->event.pressed) { // VS Go To Implementation. Sends CTRL+F12 + return MACRO(D(LCTL), T(F12), U(LCTL), END); + } + break; + case FIND_ALL_REF: + if