diff options
Diffstat (limited to 'keyboards/lets_split')
| -rw-r--r-- | keyboards/lets_split/keymaps/hvp/config.h | 40 | ||||
| -rw-r--r-- | keyboards/lets_split/keymaps/hvp/keymap.c | 65 | ||||
| -rw-r--r-- | keyboards/lets_split/keymaps/hvp/readme.md | 10 | ||||
| -rw-r--r-- | keyboards/lets_split/keymaps/hvp/rules.mk | 2 |
4 files changed, 117 insertions, 0 deletions
diff --git a/keyboards/lets_split/keymaps/hvp/config.h b/keyboards/lets_split/keymaps/hvp/config.h new file mode 100644 index 000000000..df24c53cd --- /dev/null +++ b/keyboards/lets_split/keymaps/hvp/config.h | |||
| @@ -0,0 +1,40 @@ | |||
| 1 | /* | ||
| 2 | This is the c configuration file for the keymap | ||
| 3 | |||
| 4 | Copyright 2012 Jun Wako <wakojun@gmail.com> | ||
| 5 | Copyright 2015 Jack Humbert | ||
| 6 | |||
| 7 | This program is free software: you can redistribute it and/or modify | ||
| 8 | it under the terms of the GNU General Public License as published by | ||
| 9 | the Free Software Foundation, either version 2 of the License, or | ||
| 10 | (at your option) any later version. | ||
| 11 | |||
| 12 | This program is distributed in the hope that it will be useful, | ||
| 13 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 15 | GNU General Public License for more details. | ||
| 16 | |||
| 17 | You should have received a copy of the GNU General Public License | ||
| 18 | along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 19 | */ | ||
| 20 | |||
| 21 | #pragma once | ||
| 22 | |||
| 23 | // place overrides here | ||
| 24 | #define DEFAULT_LAYER_SONGS { SONG(QWERTY_SOUND), \ | ||
| 25 | SONG(COLEMAK_SOUND), \ | ||
| 26 | SONG(DVORAK_SOUND) \ | ||
| 27 | } | ||
| 28 | |||
| 29 | /* Use I2C or Serial, not both */ | ||
| 30 | #define USE_SERIAL | ||
| 31 | // #define USE_I2C | ||
| 32 | |||
| 33 | /* Select hand configuration */ | ||
| 34 | #define MASTER_LEFT | ||
| 35 | // #define MASTER_RIGHT | ||
| 36 | // #define EE_HANDS | ||
| 37 | |||
| 38 | #undef RGBLED_NUM | ||
| 39 | #define RGBLIGHT_ANIMATIONS | ||
| 40 | #define RGBLED_NUM 10 | ||
diff --git a/keyboards/lets_split/keymaps/hvp/keymap.c b/keyboards/lets_split/keymaps/hvp/keymap.c new file mode 100644 index 000000000..e9ebd46d6 --- /dev/null +++ b/keyboards/lets_split/keymaps/hvp/keymap.c | |||
| @@ -0,0 +1,65 @@ | |||
| 1 | #include QMK_KEYBOARD_H | ||
| 2 | #include "hvp.c" | ||
| 3 | |||
| 4 | // Each layer gets a name for readability, which is then used in the keymap matrix below. | ||
| 5 | // The underscores don't mean anything - you can have a layer called STUFF or any other name. | ||
| 6 | // Layer names don't all need to be of the same length, obviously, and you can also skip them | ||
| 7 | // entirely and just use numbers. | ||
| 8 | #define _QWERTY 0 | ||
| 9 | #define _LOWER 3 | ||
| 10 | #define _RAISE 4 | ||
| 11 | #define _NAVI 5 | ||
| 12 | #define _ADJUST 6 | ||
| 13 | |||
| 14 | enum custom_keycodes { | ||
| 15 | QWERTY = SAFE_RANGE | ||
| 16 | }; | ||
| 17 | |||
| 18 | |||
| 19 | #define LOWER MO(_LOWER) | ||
| 20 | #define RAISE MO(_RAISE) | ||
| 21 | #define ADJUST MO(_ADJUST) | ||
| 22 | |||
| 23 | #define LT3_ESC LT(5, KC_ESC) | ||
| 24 | #define LT4_TAB LT(6, KC_TAB) | ||
| 25 | #define F_NAVI LT(5, KC_F) | ||
| 26 | |||
| 27 | |||
| 28 | |||
| 29 | |||
| 30 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
| 31 | |||
| 32 | [_QWERTY] = LAYOUT_ortho_4x12( | ||
| 33 | LT4_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC, | ||
| 34 | LT3_ESC, KC_A, KC_S, KC_D, F_NAVI, LT(6,KC_G), KC_H, KC_J, KC_K, KC_L, TD(TD1), TD(TD2), | ||
| 35 | KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, TD(TD3), KC_SFTENT , | ||
| 36 | KC_LCTL, KC_APP, KC_LGUI, KC_LALT, LT(3,KC_SPC), SFT_T(KC_SPC), KC_SFTENT, LT(4,KC_SPC), KC_LEFT, KC_DOWN, KC_UP, KC_RGHT | ||
| 37 | ), | ||
| 38 | |||
| 39 | [_RAISE] = LAYOUT_ortho_4x12( /* Right */ | ||
| 40 | KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_BSPC, | ||
| 41 | KC_DEL, _______, _______, _______, _______, _______, _______, KC_MINS, KC_EQL, KC_LBRC, KC_RBRC, KC_BSLS, | ||
| 42 | _______, _______, _______, _______, _______, _______, _______, KC_UNDS, KC_PLUS, KC_LCBR, KC_RCBR, KC_PIPE, | ||
| 43 | _______, _______, _______, _______, _______, _______, _______, _______, KC_HOME, KC_PGDN, KC_PGUP, KC_END | ||
| 44 | ), | ||
| 45 | |||
| 46 | [_LOWER] = LAYOUT_ortho_4x12( /* Left */ | ||
| 47 | KC_TILDE, KC_EXCLAIM, KC_AT, KC_HASH, KC_DOLLAR, KC_PERCENT, KC_CIRCUMFLEX, KC_AMPERSAND, KC_ASTERISK, KC_LEFT_PAREN, KC_RIGHT_PAREN, KC_BSPC, | ||
| 48 | KC_DEL, _______, _______, _______, _______, _______, _______, KC_UNDS, KC_PLUS, KC_LCBR, KC_RCBR, KC_BSLS, | ||
| 49 | _______, _______, _______, _______, _______, _______, _______, KC_MINS, KC_EQL, KC_LBRC, KC_RBRC, KC_TILD, | ||
| 50 | _______, _______, _______, _______, _______, _______, _______, _______, KC_HOME, KC_PGDN, KC_PGUP, KC_END | ||
| 51 | ), | ||
| 52 | |||
| 53 | [_NAVI] = LAYOUT_ortho_4x12( /* Esc */ | ||
| 54 | KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, | ||
| 55 | _______, _______, _______, D_NAVI, _______, _______, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT, _______, _______, | ||
| 56 | _______, _______, _______, _______, _______, _______, KC_HOME, KC_PGDN, KC_PGUP, KC_END, _______, _______, | ||
| 57 | _______, _______, _______, _______, _______,KC_MUTE, KC_MPLY, KC_MSTP, KC_MPRV, KC_VOLD, KC_VOLU, KC_MNXT | ||
| 58 | ), | ||
| 59 | |||
| 60 | [_ADJUST] = LAYOUT_ortho_4x12( /* Tab */ | ||
| 61 | _______, RGB_TOG, RGB_MOD, RGB_RMOD, _______, _______, _______, KC_7, KC_8, KC_9, KC_0, _______, | ||
| 62 | _______, RGB_M_P, RGB_HUD, RGB_HUI, _______, _______, _______, KC_4, KC_5, KC_6, _______, _______, | ||
| 63 | KC_PSCR, _______, RGB_SAD, RGB_SAI, _______, _______, KC_0, KC_1, KC_2, KC_3, _______, _______, | ||
| 64 | RESET, _______, RGB_VAD, RGB_VAI, _______, _______, _______, _______, _______, _______, _______, _______ | ||
| 65 | )}; | ||
diff --git a/keyboards/lets_split/keymaps/hvp/readme.md b/keyboards/lets_split/keymaps/hvp/readme.md new file mode 100644 index 000000000..a43b9d52e --- /dev/null +++ b/keyboards/lets_split/keymaps/hvp/readme.md | |||
| @@ -0,0 +1,10 @@ | |||
| 1 | Keyboard: Lets split! | ||
| 2 | Keys: 48key ortho 40% keyboard | ||
| 3 | Layout: Swedish characters on main layer using tapdance. Built for eurkey keyboard layout. | ||
| 4 | Flash instructions: Flash using avrdude, will req the hvp user space to compile. | ||
| 5 | |||
| 6 | > make lets_split/rev2:hvp:avrdude | ||
| 7 | |||
| 8 | Links: | ||
| 9 | Github - https://github.com/qmk/qmk_firmware/tree/master/keyboards/lets_split | ||
| 10 | Eurkey layout - https://eurkey.steffen.bruentjen.eu/ | ||
diff --git a/keyboards/lets_split/keymaps/hvp/rules.mk b/keyboards/lets_split/keymaps/hvp/rules.mk new file mode 100644 index 000000000..1c1ed316a --- /dev/null +++ b/keyboards/lets_split/keymaps/hvp/rules.mk | |||
| @@ -0,0 +1,2 @@ | |||
| 1 | RGBLIGHT_ENABLE = yes | ||
| 2 | TAP_DANCE_ENABLE = yes \ No newline at end of file | ||
