diff options
author | James Young <18669334+noroadsleft@users.noreply.github.com> | 2020-02-16 12:14:19 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-16 12:14:19 -0800 |
commit | eabdef3b4d304e668fcd9711c0e661a64cc96ba6 (patch) | |
tree | 94161763b14e701f1f3ced32233adee74be3df2e /keyboards/panc40/keymaps | |
parent | e279b0a1a243638f811184284013288921e1a123 (diff) |
[Keyboard] Add Panc40 by Panc Interactive (#8175)
* Add Panc40 by Panc Interactive
* Fix LAYOUT_sebright macro
Diffstat (limited to 'keyboards/panc40/keymaps')
-rw-r--r-- | keyboards/panc40/keymaps/default/keymap.c | 20 | ||||
-rw-r--r-- | keyboards/panc40/keymaps/default/readme.md | 33 | ||||
-rw-r--r-- | keyboards/panc40/keymaps/default_minorca/keymap.c | 19 | ||||
-rw-r--r-- | keyboards/panc40/keymaps/default_minorca/readme.md | 15 | ||||
-rw-r--r-- | keyboards/panc40/keymaps/default_sebright/keymap.c | 20 | ||||
-rw-r--r-- | keyboards/panc40/keymaps/default_sebright/readme.md | 15 |
6 files changed, 122 insertions, 0 deletions
diff --git a/keyboards/panc40/keymaps/default/keymap.c b/keyboards/panc40/keymaps/default/keymap.c new file mode 100644 index 0000000000..95bfa32c75 --- /dev/null +++ b/keyboards/panc40/keymaps/default/keymap.c @@ -0,0 +1,20 @@ +#include QMK_KEYBOARD_H + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + + [0] = LAYOUT_all( + KC_ESC, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC, + KC_TAB, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_BSLS, + KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, MO(1), + KC_LCTL, KC_LGUI, KC_LALT, KC_ENT, KC_SPC, KC_SPC, KC_SPC, KC_RALT, KC_RGUI, KC_RCTL, RGB_TOG + ), + + [1] = LAYOUT_all( + RESET, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ + ), + + +}; diff --git a/keyboards/panc40/keymaps/default/readme.md b/keyboards/panc40/keymaps/default/readme.md new file mode 100644 index 0000000000..619243389e --- /dev/null +++ b/keyboards/panc40/keymaps/default/readme.md @@ -0,0 +1,33 @@ +# The default keymap for Panc40 + +Supports both Minorca and Sebright layouts with one firmware. + +## Minorca layout + +``` +┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┐ +│Esc| Q | W | E | R | T | Y | U | I | O | P |BS │ +├───┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴───┤ +│Tab │ A | S | D | F | G | H | J | K | L | \ | │ +├────┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬────┤ +│Shift │ Z | X | C | V | B | N | M |, <│. >│Fn │ +├────┬─┴──┬┴───┼───┴───┴┬──┴───┴─┬─┴──┬┴──┬┴────┤ +│Ctrl│GUI │Alt │ Space | Space │GUI │Ctl│RGBTg| +└────┴────┴────┴────────┴────────┴────┴───┴─────┘ +``` + +## Sebright layout + +``` +┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┐ +│Esc| Q | W | E | R | T | Y | U | I | O | P |BS │ +├───┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴───┤ +│Tab │ A | S | D | F | G | H | J | K | L | \ | │ +├────┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬────┤ +│Shift │ Z | X | C | V | B | N | M |, <│. >│Fn │ +└────┬─┴──┬┴───┼───┴┬──┴───┴───┼───┼───┼───┼────┘ + │GUI │Alt │Ent │ Space │Alt│GUI│Ctl│ + └────┴────┴────┴──────────┴───┴───┴───┘ +``` + +Both layouts use `Fn+Esc` to Reset. diff --git a/keyboards/panc40/keymaps/default_minorca/keymap.c b/keyboards/panc40/keymaps/default_minorca/keymap.c new file mode 100644 index 0000000000..76889bb7dc --- /dev/null +++ b/keyboards/panc40/keymaps/default_minorca/keymap.c @@ -0,0 +1,19 @@ +#include QMK_KEYBOARD_H + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + + [0] = LAYOUT_minorca( + KC_ESC, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC, + KC_TAB, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_BSLS, + KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, MO(1), + KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_SPC, KC_RGUI, KC_RCTL, RGB_TOG + ), + + [1] = LAYOUT_minorca( + RESET, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______ + ), + +}; diff --git a/keyboards/panc40/keymaps/default_minorca/readme.md b/keyboards/panc40/keymaps/default_minorca/readme.md new file mode 100644 index 0000000000..224d011c88 --- /dev/null +++ b/keyboards/panc40/keymaps/default_minorca/readme.md @@ -0,0 +1,15 @@ +# default_minorca + +``` +┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┐ +│Esc| Q | W | E | R | T | Y | U | I | O | P |BS │ +├───┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴───┤ +│Tab │ A | S | D | F | G | H | J | K | L | \ | │ +├────┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬────┤ +│Shift │ Z | X | C | V | B | N | M |, <│. >│Fn │ +├────┬─┴──┬┴───┼───┴───┴┬──┴───┴─┬─┴──┬┴──┬┴────┤ +│Ctrl│GUI │Alt │ Space | Space │GUI │Ctl│RGBTg| +└────┴────┴────┴────────┴────────┴────┴───┴─────┘ +``` + +`Fn+Esc` = `RESET` diff --git a/keyboards/panc40/keymaps/default_sebright/keymap.c b/keyboards/panc40/keymaps/default_sebright/keymap.c new file mode 100644 index 0000000000..f6ab057a93 --- /dev/null +++ b/keyboards/panc40/keymaps/default_sebright/keymap.c @@ -0,0 +1,20 @@ +#include QMK_KEYBOARD_H + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + + [0] = LAYOUT_sebright( + KC_ESC, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC, + KC_TAB, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_BSLS, + KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, MO(1), + KC_LGUI, KC_LALT, KC_ENT, KC_SPC, KC_RALT, KC_RGUI, KC_RCTL + ), + + [1] = LAYOUT_sebright( + RESET, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______ + ), + + +}; diff --git a/keyboards/panc40/keymaps/default_sebright/readme.md b/keyboards/panc40/keymaps/default_sebright/readme.md new file mode 100644 index 0000000000..8d3de22e14 --- /dev/null +++ b/keyboards/panc40/keymaps/default_sebright/readme.md @@ -0,0 +1,15 @@ +# default_sebright + +``` +┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┐ +│Esc| Q | W | E | R | T | Y | U | I | O | P |BS │ +├───┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴───┤ +│Tab │ A | S | D | F | G | H | J | K | L | \ | │ +├────┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬────┤ +│Shift │ Z | X | C | V | B | N | M |, <│. >│Fn │ +└────┬─┴──┬┴───┼───┴┬──┴───┴───┼───┼───┼───┼────┘ + │GUI │Alt │Ent │ Space │Alt│GUI│Ctl│ + └────┴────┴────┴──────────┴───┴───┴───┘ +``` + +`Fn+Esc` = `RESET` |