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/60_ansi/layout.json | 5 + layouts/community/60_ansi/readme.md | 3 + layouts/community/60_iso/layout.json | 5 + layouts/community/60_iso/readme.md | 3 + layouts/community/60_iso/unxmaal/README.md | 22 + layouts/community/60_iso/unxmaal/config.h | 32 + layouts/community/60_iso/unxmaal/keymap.c | 230 ++++ layouts/community/60_iso/unxmaal/rules.mk | 1 + 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 + layouts/community/ortho_4x12/ergodoxish/config.h | 37 + layouts/community/ortho_4x12/ergodoxish/keymap.c | 214 ++++ layouts/community/ortho_4x12/layout.json | 4 + layouts/community/ortho_4x12/readme.md | 3 + layouts/community/ortho_4x4/layout.json | 4 + layouts/community/ortho_4x4/readme.md | 3 + layouts/community/ortho_5x12/layout.json | 5 + layouts/community/ortho_5x12/readme.md | 3 + layouts/community/ortho_5x15/layout.json | 5 + layouts/community/ortho_5x15/readme.md | 3 + 274 files changed, 37757 insertions(+) create mode 100644 layouts/community/60_ansi/layout.json create mode 100644 layouts/community/60_ansi/readme.md create mode 100644 layouts/community/60_iso/layout.json create mode 100644 layouts/community/60_iso/readme.md create mode 100644 layouts/community/60_iso/unxmaal/README.md create mode 100644 layouts/community/60_iso/unxmaal/config.h create mode 100644 layouts/community/60_iso/unxmaal/keymap.c create mode 100644 layouts/community/60_iso/unxmaal/rules.mk 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 create mode 100644 layouts/community/ortho_4x12/ergodoxish/config.h create mode 100644 layouts/community/ortho_4x12/ergodoxish/keymap.c create mode 100644 layouts/community/ortho_4x12/layout.json create mode 100644 layouts/community/ortho_4x12/readme.md create mode 100644 layouts/community/ortho_4x4/layout.json create mode 100644 layouts/community/ortho_4x4/readme.md create mode 100644 layouts/community/ortho_5x12/layout.json create mode 100644 layouts/community/ortho_5x12/readme.md create mode 100644 layouts/community/ortho_5x15/layout.json create mode 100644 layouts/community/ortho_5x15/readme.md (limited to 'layouts/community') diff --git a/layouts/community/60_ansi/layout.json b/layouts/community/60_ansi/layout.json new file mode 100644 index 0000000000..b7e1d0fed2 --- /dev/null +++ b/layouts/community/60_ansi/layout.json @@ -0,0 +1,5 @@ +[{a:7},"","","","","","","","","","","","","",{w:2},""], +[{w:1.5},"","","","","","","","","","","","","",{w:1.5},""], +[{w:1.75},"","","","","","","","","","","","",{w:2.25},""], +[{w:2.25},"","","","","","","","","","","",{w:2.75},""], +[{w:1.25},"",{w:1.25},"",{w:1.25},"",{w:6.25},"",{w:1.25},"",{w:1.25},"",{w:1.25},"",{w:1.25},""] diff --git a/layouts/community/60_ansi/readme.md b/layouts/community/60_ansi/readme.md new file mode 100644 index 0000000000..15f51d3fa1 --- /dev/null +++ b/layouts/community/60_ansi/readme.md @@ -0,0 +1,3 @@ +# 60_ansi + + LAYOUT_60_ansi \ No newline at end of file diff --git a/layouts/community/60_iso/layout.json b/layouts/community/60_iso/layout.json new file mode 100644 index 0000000000..2b8493fca7 --- /dev/null +++ b/layouts/community/60_iso/layout.json @@ -0,0 +1,5 @@ +[{a:7},"","","","","","","","","","","","","",{w:2},""], +[{w:1.5},"","","","","","","","","","","","","",{x:0.25,w:1.25,h:2,w2:1.5,h2:1,x2:-0.25},""], +[{w:1.75},"","","","","","","","","","","","",""], +[{w:1.25},"","","","","","","","","","","","",{w:2.75},""], +[{w:1.25},"",{w:1.25},"",{w:1.25},"",{w:6.25},"",{w:1.25},"",{w:1.25},"",{w:1.25},"",{w:1.25},""] diff --git a/layouts/community/60_iso/readme.md b/layouts/community/60_iso/readme.md new file mode 100644 index 0000000000..42ff805fb6 --- /dev/null +++ b/layouts/community/60_iso/readme.md @@ -0,0 +1,3 @@ +# 60_iso + + LAYOUT_60_iso \ No newline at end of file diff --git a/layouts/community/60_iso/unxmaal/README.md b/layouts/community/60_iso/unxmaal/README.md new file mode 100644 index 0000000000..6c08bbb100 --- /dev/null +++ b/layouts/community/60_iso/unxmaal/README.md @@ -0,0 +1,22 @@ +Unxmaal's GH60 Layout +===================== +* Mostly stolen from /u/robotmaxtron + +##Quantum MK Firmware +For the full Quantum feature list, see the parent readme.md. + +* Standard Mac ANSI layout +* Spacebar acts as space when tapped, Fn when held +* Menu acts as menu when tapped, Fn2 when held +* Layer1: + * Top row = `~, F1-F12, Del + * JKIL = arrow cluster +* Layer2: + * Top row = media controls + * JKIL = PgDn/Up/Home/Insert + * Backspace = Reset + +### Additional Credits +Keymap has been based on various keymaps available from the QMK Repo for the GH60-SATAN and KC60 keyboards. + +![wiring](https://i.imgur.com/8b8T1fQ.jpg) \ No newline at end of file diff --git a/layouts/community/60_iso/unxmaal/config.h b/layouts/community/60_iso/unxmaal/config.h new file mode 100644 index 0000000000..7a500b1bb5 --- /dev/null +++ b/layouts/community/60_iso/unxmaal/config.h @@ -0,0 +1,32 @@ +/* +Copyright 2012 Jun Wako + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 2 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ + +#ifndef KEYMAP_CONFIG_H +#define KEYMAP_CONFIG_H + +#include QMK_KEYBOARD_CONFIG_H + +#ifndef RGB_DI_PIN + #define RGB_DI_PIN F4 + #define RGBLIGHT_ANIMATIONS + #define RGBLED_NUM 8 // Number of LEDs + #define RGBLIGHT_HUE_STEP 8 + #define RGBLIGHT_SAT_STEP 8 + #define RGBLIGHT_VAL_STEP 8 +#endif + +#endif diff --git a/layouts/community/60_iso/unxmaal/keymap.c b/layouts/community/60_iso/unxmaal/keymap.c new file mode 100644 index 0000000000..e9b38788e4 --- /dev/null +++ b/layouts/community/60_iso/unxmaal/keymap.c @@ -0,0 +1,230 @@ +#include QMK_KEYBOARD_H +#include "action_layer.h" + +#define _BL 0 +#define _AL 1 +#define _FL 2 +#define _UL 3 + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + /* + * ANSI Base, Mac style + * ,-----------------------------------------------------------------------------. + * |Esc | 1| 2| 3| 4| 5| 6| 7| 8| 9| 0| -| = | Backsp | + * |-----------------------------------------------------------------------------| + * |Tab | Q | W | E | R | T | Y | U | I| O| P| [| ]| \| + * |-----------------------------------------------------------------------------| + * |Caps/Fn | A| S| D| F| G| H| J| K| L| ;| '| Enter | + * |-----------------------------------------------------------------------------| + * |Shift | Z| X| C| V| B| N| M| ,| .| /| Shift | + * |-----------------------------------------------------------------------------| + * |Fn|Alt |Gui | Space(tapped), Fn(held) |Gui |Alt |Menu(tapped, Fn2(held)|Ctrl| + * `-----------------------------------------------------------------------------' + */ + [_BL] = LAYOUT_60_iso( + KC_ESC,KC_1,KC_2,KC_3,KC_4,KC_5,KC_6,KC_7,KC_8,KC_9,KC_0,KC_MINS,KC_EQL,KC_BSPC, \ + KC_TAB,KC_Q,KC_W,KC_E,KC_R,KC_T,KC_Y,KC_U,KC_I,KC_O,KC_P,KC_LBRC,KC_RBRC,KC_BSLS, \ + KC_LCTL,KC_A,KC_S,KC_D,KC_F,KC_G,KC_H,KC_J,KC_K,KC_L,KC_SCLN,KC_QUOT,KC_NO,KC_ENT, \ + KC_LSFT,KC_NO,KC_Z,KC_X,KC_C,KC_V,KC_B,KC_N,KC_M,KC_COMM,KC_DOT,KC_SLSH,KC_NO,KC_RSFT, \ + MO(1),KC_LALT,KC_LGUI, LT(1,KC_SPACE), KC_NO, KC_RGUI, KC_RALT, LT(2,KC_MENU), KC_RCTL), + + /* + * Pok3r style arrow cluster + * ,-----------------------------------------------------------. + * |`~ | F1| F2| F3| F4| F5| F6| F7| F8| F9| F10| F11| F12|DEL | + * |-----------------------------------------------------------| + * | | | | | | | | |Up| | | | | | + * |-----------------------------------------------------------| + * | | | | | | | |Left|Down|Right| | | | + * |-----------------------------------------------------------| + * | | | | | | | | | | | | | + * |-----------------------------------------------------------| + * | | | | | | | | | + * `-----------------------------------------------------------' + */ + [_AL] = LAYOUT_60_iso( + KC_GRV,KC_F1,KC_F2,KC_F3,KC_F4,KC_F5,KC_F6,KC_F7,KC_F8,KC_F9,KC_F10,KC_F11,KC_F12,KC_DELETE, \ + KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_UP,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_LEFT,KC_DOWN,KC_RGHT,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), + + + /* + * Secondary function layer + * ,-------------------------------------------------------------. + * | | | | | | | | RW|Play|FF| Mute| Vol Down | Vol up |Reset | + * |-------------------------------------------------------------| + * | | | | | | | | | |PgUp| | | | | + * |-------------------------------------------------------------| + * | | | | | | | |Home|PgDown|End| | | | + * |-------------------------------------------------------------| + * | | | | | | | | | | | | | + * |-------------------------------------------------------------| + * | | | | | | | | | + * `-------------------------------------------------------------' + */ + [_FL] = LAYOUT_60_iso( + KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_MPRV,KC_MPLY,KC_MNXT,KC_MUTE,KC_VOLD,KC_VOLU,RESET, \ + KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_PGUP,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS, \ + KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_HOME,KC_TRNS,KC_HOME,KC_PGDN,KC_END,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), + + /* + * Locking layer for controlling the underglow. + * NOTE: currently unused. + * + * ,-----------------------------------------------------------. + * | | | | | | | | | | | | | | | + * |-----------------------------------------------------------| + * | | | | | | | | | | | | | | | + * |-----------------------------------------------------------| + * | |On|Mode| | | | | | | | | | | + * |-----------------------------------------------------------| + * | | |Hue+|Hue-|Sat+|Sat-|Val+|Val-| | | | | + * |-----------------------------------------------------------| + * | | | | | | | | | + * `-----------------------------------------------------------' + */ + [_UL] = LAYOUT_60_iso( + 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,F(4),F(5),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,F(6),F(7),F(8),F(9),F(10),F(11),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), +}; + +enum function_id { + RGBLED_TOGGLE, + RGBLED_STEP_MODE, + RGBLED_INCREASE_HUE, + RGBLED_DECREASE_HUE, + RGBLED_INCREASE_SAT, + RGBLED_DECREASE_SAT, + RGBLED_INCREASE_VAL, + RGBLED_DECREASE_VAL, + SHIFT_ESC, +}; + +const uint16_t PROGMEM fn_actions[] = { + [0] = ACTION_LAYER_MOMENTARY(2), // Momentary Fn overlay + [1] = ACTION_LAYER_TOGGLE(1), // Toggle Arrow Layer overlay + [2] = ACTION_LAYER_TAP_KEY(2, KC_CAPS), // Tap to toggle caps lock and hold to activate function layer + [3] = ACTION_LAYER_TOGGLE(3), // Toggle Underglow Layer overlay + [4] = ACTION_FUNCTION(RGBLED_TOGGLE), //Turn on/off underglow + [5] = ACTION_FUNCTION(RGBLED_STEP_MODE), // Change underglow mode + [6] = ACTION_FUNCTION(RGBLED_INCREASE_HUE), + [7] = ACTION_FUNCTION(RGBLED_DECREASE_HUE), + [8] = ACTION_FUNCTION(RGBLED_INCREASE_SAT), + [9] = ACTION_FUNCTION(RGBLED_DECREASE_SAT), + [10] = ACTION_FUNCTION(RGBLED_INCREASE_VAL), + [11] = ACTION_FUNCTION(RGBLED_DECREASE_VAL), + [12] = ACTION_FUNCTION(SHIFT_ESC), + [13] = ACTION_LAYER_TAP_KEY(1, KC_SPACE), +}; + +const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) +{ + // MACRODOWN only works in this function + switch(id) { + case 0: + if (record->event.pressed) { + register_code(KC_RSFT); + } else { + unregister_code(KC_RSFT); + } + break; + } + return MACRO_NONE; +}; + +void matrix_scan_user(void) { + +// Layer LED indicators +// ESC led on when in function layer, WASD cluster leds enabled when on arrow cluster + #ifdef KEYBOARD_gh60 + uint32_t layer = layer_state; + if (layer & (1<<1)) { + gh60_wasd_leds_on(); + } else { + gh60_wasd_leds_off(); + } + + if (layer & (1<<2)) { + gh60_esc_led_on(); + } else { + gh60_esc_led_off(); + } + #endif +}; + +#define MODS_CTRL_MASK (MOD_BIT(KC_LSHIFT)|MOD_BIT(KC_RSHIFT)) + +void action_function(keyrecord_t *record, uint8_t id, uint8_t opt) { + switch (id) { + case RGBLED_TOGGLE: + //led operations + if (record->event.pressed) { + rgblight_toggle(); + } + break; + case RGBLED_INCREASE_HUE: + if (record->event.pressed) { + rgblight_increase_hue(); + } + break; + case RGBLED_DECREASE_HUE: + if (record->event.pressed) { + rgblight_decrease_hue(); + } + break; + case RGBLED_INCREASE_SAT: + if (record->event.pressed) { + rgblight_increase_sat(); + } + break; + case RGBLED_DECREASE_SAT: + if (record->event.pressed) { + rgblight_decrease_sat(); + } + break; + case RGBLED_INCREASE_VAL: + if (record->event.pressed) { + rgblight_increase_val(); + } + break; + case RGBLED_DECREASE_VAL: + if (record->event.pressed) { + rgblight_decrease_val(); + } + break; + case RGBLED_STEP_MODE: + if (record->event.pressed) { + rgblight_step(); + } + break; + static uint8_t shift_esc_shift_mask; + // Shift + ESC = ~ + case SHIFT_ESC: + shift_esc_shift_mask = get_mods()&MODS_CTRL_MASK; + if (record->event.pressed) { + if (shift_esc_shift_mask) { + add_key(KC_GRV); + send_keyboard_report(); + } else { + add_key(KC_ESC); + send_keyboard_report(); + } + } else { + if (shift_esc_shift_mask) { + del_key(KC_GRV); + send_keyboard_report(); + } else { + del_key(KC_ESC); + send_keyboard_report(); + } + } + break; + } +}; diff --git a/layouts/community/60_iso/unxmaal/rules.mk b/layouts/community/60_iso/unxmaal/rules.mk new file mode 100644 index 0000000000..26fc6dc669 --- /dev/null +++ b/layouts/community/60_iso/unxmaal/rules.mk @@ -0,0 +1 @@ +RGBLIGHT_ENABLE = yes # Enable RGB Underglow 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| | | + * `--------------------' `----------------------' + */ +