From f9f3afd76778c0ec152b25affb05a9b7d237dc52 Mon Sep 17 00:00:00 2001 From: Pittyolo Date: Sat, 14 Oct 2017 19:00:00 +0200 Subject: [PATCH] Created cleaner readme and updated the keymap of my layout (#1840) * Add files via upload * Add files via upload * Add files via upload * Add files via upload * Update keymap.c * Update keymap.c * Update keymap.c * Update keymap.c * Add files via upload * Add files via upload * Update README.md * Update README.md * Update README.md * Update README.md * Update README.md * Update README.md * Update README.md * Add files via upload --- keyboards/nyquist/keymaps/pitty/Makefile | 1 + keyboards/nyquist/keymaps/pitty/README.md | 74 +++++++++++++++++++++++ keyboards/nyquist/keymaps/pitty/config.h | 2 + keyboards/nyquist/keymaps/pitty/keymap.c | 25 ++++---- 4 files changed, 89 insertions(+), 13 deletions(-) diff --git a/keyboards/nyquist/keymaps/pitty/Makefile b/keyboards/nyquist/keymaps/pitty/Makefile index 8ebc85a44b..48c5e08ddd 100644 --- a/keyboards/nyquist/keymaps/pitty/Makefile +++ b/keyboards/nyquist/keymaps/pitty/Makefile @@ -1,6 +1,7 @@ RGBLIGHT_ENABLE = yes NKRO_ENABLE = yes + ifndef QUANTUM_DIR include ../../../../Makefile endif diff --git a/keyboards/nyquist/keymaps/pitty/README.md b/keyboards/nyquist/keymaps/pitty/README.md index c7dbca68bb..af933a6a56 100644 --- a/keyboards/nyquist/keymaps/pitty/README.md +++ b/keyboards/nyquist/keymaps/pitty/README.md @@ -3,3 +3,77 @@ This Nyquist layout is mostly based of 333fred's keymap (kudos!), modified for my ISO Hungarian taste :) It's still a WIP. + +I wrote the keys that will appear when using Hungarian layout in Windows and the respective English keys in brackets. + + + ### Qwerty +``` +,-----------------------------------------------------------------------------------. +| 0(') | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | Ö(0) | Ü(-) | +|------+------+------+------+------+------+------+------+------+------+------+------| +| Tab | Q | W | E | R | T | Z(Y)| U | I | O | P | Bksp | +|------+------+------+------+------+-------------+------+------+------+------+------| +| Esc | A | S | D |LTVIMF| G | H | J | K | L | É(;)| Á(") | +|------+------+------+------+------+------|------+------+------+------+------+------| +|Í/Shft| Y(Z) | X | C | V | B | N | M | , | . | -(/)| Shift| +|------+------+------+------+------+------+------+------+------+------+------+------| +| Ctrl | GUI | Alt |LOWER | Spc | Spc | Bksp | Ent | Alt | =(&) | GAME | Del | +`-----------------------------------------------------------------------------------' +``` + + Tap left shift writes the missing ISO key, hold is Shift. I have 2u Space. + + + ### Gaming mode (Toggle layer) +``` +,-----------------------------------------------------------------------------------. +| | | | | | | | | | | |QWERTY| +|------+------+------+------+------+------+------+------+------+------+------+------| +| | | | | | | | | | | |Lower | +|------+------+------+------+------+------+------+------+------+------+------+------| +| | | | | F | | | | | | | | +|------+------+------+------+------+------+------+------+------+------+------+------| +| Shift| | | | | | | | | | | | +|------+------+------+------+------+------+------+------+------+------+------+------| +| | | | | | | | | Left | Down | Up | Right| +`-----------------------------------------------------------------------------------' +``` + +Disabled some of the functions in the main layer to help with better gaming experience. + + + ### Lower (double tap toggles the layer, and hold for momentary switch) +``` +,-----------------------------------------------------------------------------------. +| F1 | F2 | F3 | F4 | F5 | F6 | F7 | F8 | F9 | F10 | F11 | F12 | +|------+------+------+------+------+-------------+------+------+------+------+------| +| | | Up | | Del | Ins | | 7 | 8 | 9 | / | | +|------+------+------+------+------+-------------+------+------+------+------+------| +| | Left | Down | Right| Home | End | | 4 | 5 | 6 | * | | +|------+------+------+------+------+------|------+------+------+------+------+------| +| Shift| | | | PGUP | PGDN | | 1 | 2 | 3 | - | | +|------+------+------+------+------+------+------+------+------+------+------+------| +| | | | | | | | 0 | . | = | + | | +`-----------------------------------------------------------------------------------' +``` + + Function layer with everything that is missing from the main layer plus an additional numpad. + + + ### Vim Movement (Hold down F) +``` +,-----------------------------------------------------------------------------------. +| | | | |DM_stp| | | | | | Ő | Ű | +|------+------+------+------+------+------+------+------+------+------+------+------| +| | | | |DM_REC| | | Ú | Í | Ó | | | +|------+------+------+------+------+------+------+------+------+------+------+------| +| | DLeft|DRight| LCTRL| | | Left | Down | Up | Right| | | +|------+------+------+------+------+------+------+------+------+------+------+------| +| | | | | | | | | | | | | +|------+------+------+------+------+------+------+------+------+------+------+------| +| | | | | LShft| | | | | | | | +`-----------------------------------------------------------------------------------' +``` + + Turns hjkl into vim movement. DLeft and DRight macros are for sending WIN+Left and WIN+Right. I moved the respective accented Hungarian letters here. diff --git a/keyboards/nyquist/keymaps/pitty/config.h b/keyboards/nyquist/keymaps/pitty/config.h index d644803ef1..1ec271d09a 100644 --- a/keyboards/nyquist/keymaps/pitty/config.h +++ b/keyboards/nyquist/keymaps/pitty/config.h @@ -38,5 +38,7 @@ along with this program. If not, see . #define RGBLIGHT_SAT_STEP 8 #define RGBLIGHT_VAL_STEP 8 +#define TAPPING_TOGGLE 2 + #endif diff --git a/keyboards/nyquist/keymaps/pitty/keymap.c b/keyboards/nyquist/keymaps/pitty/keymap.c index 7b1a82ad3a..89f9151927 100644 --- a/keyboards/nyquist/keymaps/pitty/keymap.c +++ b/keyboards/nyquist/keymaps/pitty/keymap.c @@ -39,12 +39,11 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINUS, \ KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC, \ KC_ESC, KC_A, KC_S, KC_D, LT(_VIM, KC_F), KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, \ - MT(MOD_LSFT, KC_NUBS), KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, OSM(MOD_RSFT), \ + MT(MOD_LSFT, KC_NUBS), KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, \ KC_LCTL, KC_LGUI, KC_LALT, TT(_LOWER), KC_SPC, KC_SPC, KC_BSPC, KC_ENT, KC_RALT, KC_AMPERSAND, TG(_GAME), KC_DEL \ ), /* Gaming mode - * All one-shot mods are disabled on this layer * ,-----------------------------------------------------------------------------------. * | | | | | | | | | | | |QWERTY| * |------+------+------+------+------+------+------+------+------+------+------+------| @@ -69,29 +68,29 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { * ,-----------------------------------------------------------------------------------. * | F1 | F2 | F3 | F4 | F5 | F6 | F7 | F8 | F9 | F10 | F11 | F12 | * |------+------+------+------+------+-------------+------+------+------+------+------| - * | | | Up | | Del | Ins | | | 7 | 8 | 9 | / | + * | | | Up | | Del | Ins | | 7 | 8 | 9 | / | | * |------+------+------+------+------+-------------+------+------+------+------+------| - * | | Left | Down | Right| Home | End | | | 4 | 5 | 6 | * | + * | | Left | Down | Right| Home | End | | 4 | 5 | 6 | * | | * |------+------+------+------+------+------|------+------+------+------+------+------| - * | Shift| | | | PGUP | PGDN | | | 1 | 2 | 3 | - | + * | Shift| | | | PGUP | PGDN | | 1 | 2 | 3 | - | | * |------+------+------+------+------+------+------+------+------+------+------+------| - * | | | | | | | | | 0 | . | = | + | + * | | | | | | | | 0 | . | = | + | | * `-----------------------------------------------------------------------------------' */ [_LOWER] = KEYMAP( \ - 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_UP, _______, KC_DEL , KC_INS , _______, _______, KC_7, KC_8, KC_9, KC_KP_SLASH, \ - _______, KC_LEFT, KC_DOWN, KC_RGHT, KC_HOME, KC_END , _______, _______, KC_4, KC_5, KC_6, KC_KP_ASTERISK, \ - KC_LSFT, _______, _______, _______, KC_PGUP, KC_PGDN, _______, _______, KC_1, KC_2, KC_3, KC_KP_MINUS, \ - _______, _______, _______, _______, _______, _______, _______, _______, KC_GRV, KC_KP_DOT, KC_KP_EQUAL, KC_KP_PLUS \ + 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_UP, _______, KC_DEL , KC_INS , _______, KC_7, KC_8, KC_9, KC_KP_SLASH, _______, \ + _______, KC_LEFT, KC_DOWN, KC_RGHT, KC_HOME, KC_END , _______, KC_4, KC_5, KC_6, KC_KP_ASTERISK, _______, \ + KC_LSFT, _______, _______, _______, KC_PGUP, KC_PGDN, _______, KC_1, KC_2, KC_3, KC_KP_MINUS, _______, \ + _______, _______, _______, _______, _______, _______, _______, KC_GRV, KC_KP_DOT, KC_KP_EQUAL, KC_KP_PLUS, _______ \ ), /* Vim Movement (Hold down F) * ,-----------------------------------------------------------------------------------. - * | | | | |DM_stp| | | | | | | | + * | | | | |DM_stp| | | | | | Ő | Ű | * |------+------+------+------+------+------+------+------+------+------+------+------| - * | | | | |DM_REC| | | | | | | | + * | | | | |DM_REC| | | Ú | Í | Ó | | | * |------+------+------+------+------+------+------+------+------+------+------+------| * | | DLeft|DRight| LCTRL| | | Left | Down | Up | Right| | | * |------+------+------+------+------+------+------+------+------+------+------+------|