diff options
| author | Ethan Madden <crazeh.monkeh@gmail.com> | 2018-04-17 20:50:50 -0700 |
|---|---|---|
| committer | Drashna Jaelre <drashna@live.com> | 2018-04-17 20:50:50 -0700 |
| commit | 9ab786d1d8f07a252d109e4fcea92b929a7fb5cf (patch) | |
| tree | 7d14e58e8f56886017701906c9298e7f41f9ee0f /keyboards/amj40 | |
| parent | ec9058f22714894b3b518000fd95977f68251fb9 (diff) | |
| download | qmk_firmware-9ab786d1d8f07a252d109e4fcea92b929a7fb5cf.tar.gz qmk_firmware-9ab786d1d8f07a252d109e4fcea92b929a7fb5cf.zip | |
Added amj40 keymap (#2754)
fixed shift area
keymap updates to try to make this thing usable
documentation tweaks
fix readme mismatch
clean up and finish docs
Diffstat (limited to 'keyboards/amj40')
| -rwxr-xr-x | keyboards/amj40/keymaps/jetpacktuxedo/keymap.c | 43 | ||||
| -rwxr-xr-x | keyboards/amj40/keymaps/jetpacktuxedo/readme.md | 55 | ||||
| -rw-r--r-- | keyboards/amj40/keymaps/jetpacktuxedo/rules.mk | 27 |
3 files changed, 125 insertions, 0 deletions
diff --git a/keyboards/amj40/keymaps/jetpacktuxedo/keymap.c b/keyboards/amj40/keymaps/jetpacktuxedo/keymap.c new file mode 100755 index 000000000..62f4376f5 --- /dev/null +++ b/keyboards/amj40/keymaps/jetpacktuxedo/keymap.c | |||
| @@ -0,0 +1,43 @@ | |||
| 1 | #include "amj40.h" | ||
| 2 | |||
| 3 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
| 4 | // Default Layer | ||
| 5 | [0] = KEYMAP( \ | ||
| 6 | KC_GESC, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC,\ | ||
| 7 | LT(2, KC_TAB), KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, LT(2, KC_ENT),\ | ||
| 8 | KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, MT(MOD_RSFT, KC_SLSH),\ | ||
| 9 | KC_LCTL, KC_LGUI, KC_LALT, LT(1, KC_SPC), LT(1, KC_SPC), KC_RALT, MO(3), KC_RCTL \ | ||
| 10 | ), | ||
| 11 | |||
| 12 | // Number Layer | ||
| 13 | [1] = KEYMAP( \ | ||
| 14 | KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_DEL, \ | ||
| 15 | KC_TRNS, KC_MINS, KC_EQL, KC_SCLN, KC_QUOT, KC_TRNS, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT, KC_TRNS, \ | ||
| 16 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_LBRC, KC_RBRC, MT(MOD_RSFT, KC_BSLS), \ | ||
| 17 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS\ | ||
| 18 | ), | ||
| 19 | |||
| 20 | // Shifted Layer | ||
| 21 | [2] = KEYMAP( \ | ||
| 22 | KC_TILD, KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_CIRC, KC_AMPR, KC_ASTR, KC_LPRN, KC_RPRN, KC_DEL,\ | ||
| 23 | KC_TRNS, KC_UNDS, KC_PLUS, KC_COLN, KC_DQUO, KC_TRNS, KC_HOME, KC_PGDN, KC_PGUP, KC_END, KC_TRNS, \ | ||
| 24 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_LCBR, KC_RCBR, KC_PIPE, \ | ||
| 25 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS\ | ||
| 26 | ), | ||
| 27 | |||
| 28 | // Fkey Layer | ||
| 29 | [3] = KEYMAP( \ | ||
| 30 | KC_TRNS, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, RESET,\ | ||
| 31 | KC_TRNS, KC_F11, KC_F12, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, \ | ||
| 32 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, \ | ||
| 33 | KC_TRNS, TG(4), KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS\ | ||
| 34 | ), | ||
| 35 | |||
| 36 | // Gaming Layer | ||
| 37 | [4] = KEYMAP( \ | ||
| 38 | KC_ESC, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_WH_U, KC_BTN1, KC_MS_U, KC_BTN2, KC_TRNS, KC_TRNS,\ | ||
| 39 | KC_TAB, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_WH_D, KC_MS_L, KC_MS_D, KC_MS_R, KC_TRNS,\ | ||
| 40 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,\ | ||
| 41 | KC_TRNS, KC_TRNS, KC_TRNS, KC_SPC, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS\ | ||
| 42 | ), | ||
| 43 | }; | ||
diff --git a/keyboards/amj40/keymaps/jetpacktuxedo/readme.md b/keyboards/amj40/keymaps/jetpacktuxedo/readme.md new file mode 100755 index 000000000..64ae16c7e --- /dev/null +++ b/keyboards/amj40/keymaps/jetpacktuxedo/readme.md | |||
| @@ -0,0 +1,55 @@ | |||
| 1 | Jetpacktuxedo's AMJ40 layout | ||
| 2 | ===================== | ||
| 3 | |||
| 4 | This is based heavily on my minivan layout, with most difference stemming from the different widths between the minivan and the AMJ40.  | ||
| 5 | |||
| 6 | ## Base Layer (0) | ||
| 7 | |||
| 8 | The base layer is pretty simple, straight qwerty layout where available. Both spacebars go to layer 1 when held. `tab` is `tab` when pressed and `fn2` when held, `enter` is the same. `GESC` is `esc` when used alone, but `~` when shifted. `/` is `/` when tapped but `rshift` when held. | ||
| 9 | ``` | ||
| 10 | |GESC| Q | W | E | R | T | Y | U | I | O | P |BSPC| | ||
| 11 | | TAB | A | S | D | F | G | H | J | K | L | ENTER | | ||
| 12 | |LSHIFT | Z | X | C | V | B | N | M | , | . | / | | ||
| 13 | |LCTRL|LWIN|LALT | SPACE | SPACE |RALT |FN 3|RCTRL | | ||
| 14 | ``` | ||
| 15 | |||
| 16 | ## Number Layer (1) | ||
| 17 | |||
| 18 | Numbers are set up just like on my minivan layout, but symbols are a bit different because the AMJ40 is one key narrower than the minivan and also lacks dedicated arrows. Decided to go with `hjkl` arrows, which takes some getting used to. `;` is on a layer now because of the narrowness I mentioned before, and it (along with `-`, `=`, and `'`) moves to the right hand to leave room for the `hjkl` arrows. `delete` on `backspace`, `[` and `]` on `<` and `>`, and `\` on `/` are all stolen straight from my minivan layout. | ||
| 19 | ``` | ||
| 20 | | ` | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 |DEL | | ||
| 21 | | | - | = | ; | ' | | ← | ↓ | ↑ | → | | | ||
| 22 | | | | | | | | | | [ | ] | \ | | ||
| 23 | | | | | | | | | | | ||
| 24 | ``` | ||
| 25 | |||
| 26 | ## Shifted Layer (2) | ||
| 27 | |||
| 28 | I don't want to be using two key combos constantly, so I also added this symbol layer that is basically shift+numeric layer. Also has nav keys on top of where arrows sit on the previous layer | ||
| 29 | ``` | ||
| 30 | | ~ | ! | @ | # | $ | % | ^ | & | * | ( | ) |DEL | | ||
| 31 | | | _ | + | : | " | |HOME|PGDN|PGUP|END | | | ||
| 32 | | | | | | | | | | { | } | | | | ||
| 33 | | | | | | | | | | | ||
| 34 | ``` | ||
| 35 | |||
| 36 | ## Fkey Layer (3) | ||
| 37 | |||
| 38 | Honestly, I use this more for jumping to my gaming layer and for reset than I use it for Fkeys. Lol. Hitting the left windows key while in this layer locks the gaming layer listed below | ||
| 39 | ``` | ||
| 40 | | | F1 | F2 | F3 | F4 | F5 | F6 | F7 | F8 | F9 |F10 |RSET| | ||
| 41 | | |F11 |F12 | | | | | | | | | | ||
| 42 | | | | | | | | | | | | | | ||
| 43 | | |FN 4| | | | | | | | ||
| 44 | ``` | ||
| 45 | |||
| 46 | ## "Gaming" Layer (4) | ||
| 47 | |||
| 48 | Based on the "gaming" layer on my minivan that I mostly just use for mouse keys. To toggle this back off you hit the right windows key (to go to layer 3) and then the left windows key again. | ||
| 49 | ``` | ||
| 50 | |ESC | | | | | |MWUP|MLCK|M UP|MRCK| | | | ||
| 51 | | TAB | | | | | |MWDN|M L |M DN|M R | | | ||
| 52 | | | | | | | | | | | | | | ||
| 53 | | | | | SPACE | | | | | | ||
| 54 | ``` | ||
| 55 | |||
diff --git a/keyboards/amj40/keymaps/jetpacktuxedo/rules.mk b/keyboards/amj40/keymaps/jetpacktuxedo/rules.mk new file mode 100644 index 000000000..d7f3e7605 --- /dev/null +++ b/keyboards/amj40/keymaps/jetpacktuxedo/rules.mk | |||
| @@ -0,0 +1,27 @@ | |||
| 1 | # Build Options | ||
| 2 | # change to "no" to disable the options, or define them in the Makefile in | ||
| 3 | # the appropriate keymap folder that will get included automatically | ||
| 4 | # | ||
| 5 | BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration(+1000) | ||
| 6 | MOUSEKEY_ENABLE = yes # Mouse keys(+4700) | ||
| 7 | EXTRAKEY_ENABLE = yes # Audio control and System control(+450) | ||
| 8 | CONSOLE_ENABLE = no # Console for debug(+400) | ||
| 9 | COMMAND_ENABLE = no # Commands for debug and configuration | ||
| 10 | NKRO_ENABLE = yes # Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work | ||
| 11 | BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality | ||
| 12 | MIDI_ENABLE = no # MIDI controls | ||
| 13 | AUDIO_ENABLE = no # Audio output on port C6 | ||
| 14 | UNICODE_ENABLE = no # Unicode | ||
| 15 | BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID | ||
| 16 | RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight. Do not enable this with audio at the same time. | ||
| 17 | |||
| 18 | # Do not enable SLEEP_LED_ENABLE. It uses the same timer as BACKLIGHT_ENABLE | ||
| 19 | SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend | ||
| 20 | |||
| 21 | #define ws2812_PORTREG PORTD | ||
| 22 | #define ws2812_DDRREG DDRD | ||
| 23 | |||
| 24 | |||
| 25 | ifndef QUANTUM_DIR | ||
| 26 | include ../../../../Makefile | ||
| 27 | endif | ||
