1
0
Fork 0
qmk_firmware/keyboards/planck/keymaps/bone2planck/keymap.c

136 lines
8.8 KiB
C
Raw Normal View History

#include QMK_KEYBOARD_H
2016-07-24 02:08:40 +00:00
#include "keymap_german.h"
// for intellisense, has to be commented for building
2016-07-24 02:52:35 +00:00
/*
2016-07-20 15:05:23 +00:00
#include "..\..\..\..\quantum\keymap_extras\keymap_german.h"
#include "..\..\..\..\tmk_core\common\keycode.h"
2016-07-24 02:08:40 +00:00
*/
/* This Layout tries to emulate the Bone2 Variant of Neo2, and is intended to be used with a German QWERTZ Softwarelayout.
2016-07-20 14:42:09 +00:00
It has "üäöß" as it is optimized for a mix of German & English.
My favourite features are the placement of the special characters often used for programming right on the home row
and the number & navigation block combo, so you never have to move your hands from their home position.
Bone2 wiki page: http://wiki.neo-layout.org/wiki/Bone
*/
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
2017-02-09 09:01:39 +00:00
/* Bone2 (adapted)
2016-07-20 14:58:10 +00:00
* ,-----------------------------------------------------------------------------------.
2017-02-09 12:07:59 +00:00
* | ß | J | D | U | A | X | P | H | L | M | W | Q |
2016-07-20 14:58:10 +00:00
* |------+------+------+------+------+-------------+------+------+------+------+------|
2017-02-09 12:07:59 +00:00
* | M1 | C | T | I | E | O | B | N | R | S | G |M1/Ent| //hold for M1, tap for Enter
2016-07-20 14:58:10 +00:00
* |------+------+------+------+------+------|------+------+------+------+------+------|
* | Shift| F | V | Ü | Ä | Ö | Y | Z | , | . | K |Shift |
* |------+------+------+------+------+------+------+------+------+------+------+------|
2016-07-24 02:52:35 +00:00
* | Ctrl | GUI | Alt | M4 | M2 | Space | M2 | M4 | Alt | Esc | Ctrl |
2016-07-20 14:58:10 +00:00
* `-----------------------------------------------------------------------------------'
*/
[0] = LAYOUT_planck_grid(
DE_SS, DE_J, DE_D, DE_U, DE_A, DE_X, DE_P, DE_H, DE_L, DE_M, DE_W, DE_Q ,
// LT(1,KC_TAB), DE_C, DE_T, DE_I, DE_E, DE_O, DE_B, DE_N, DE_R, DE_S, DE_G, LT(1,KC_ENT) ,
MO(1), DE_C, DE_T, DE_I, DE_E, DE_O, DE_B, DE_N, DE_R, DE_S, DE_G, LT(1,KC_ENT) ,
KC_LSFT, DE_F, DE_V, DE_UDIA, DE_ADIA, DE_ODIA, DE_Y, DE_Z, DE_COMM, DE_DOT, DE_K, KC_LSFT ,
KC_LCTL, KC_LGUI, KC_LALT, MO(4), MO(2), KC_SPC, KC_SPC, MO(2), MO(4), KC_RALT, KC_ESC, KC_RCTL
),
2016-07-20 14:42:09 +00:00
/* M1 Special Characters
2017-02-09 09:01:39 +00:00
* very ergonomic placement for coding
2016-07-20 14:42:09 +00:00
* ,-----------------------------------------------------------------------------------.
* | ° | @ | _ | [ | ] | ^ | ! | < | > | = | & | ´ |
* |------+------+------+------+------+-------------+------+------+------+------+------|
2017-02-09 12:07:59 +00:00
* | M1 | \ | / | { | } | * | ? | ( | ) | - | : |M1/Ent| //hold for M1, tap for Enter
2016-07-20 14:42:09 +00:00
* |------+------+------+------+------+------|------+------+------+------+------+------|
2017-02-09 12:07:59 +00:00
* | Shift| # | ~ | | | $ | | + | % | " | ' | ; |Shift |
2016-07-20 14:42:09 +00:00
* |------+------+------+------+------+------+------+------+------+------+------+------|
2016-07-24 02:52:35 +00:00
* | Ctrl | GUI | Alt | M4 | M2 | Space | M2 | M4 | Alt | Esc | Ctrl |
2016-07-20 14:42:09 +00:00
* `-----------------------------------------------------------------------------------'
*/
[1] = LAYOUT_planck_grid(
DE_DEG, DE_AT, DE_UNDS, DE_LBRC, DE_RBRC, DE_CIRC, DE_EXLM, DE_LABK, DE_RABK, DE_EQL, DE_AMPR, DE_ACUT ,
_______, DE_BSLS, DE_SLSH, DE_LCBR, DE_RCBR, DE_ASTR, DE_QUES, DE_LPRN, DE_RPRN, DE_MINS, DE_COLN, _______ ,
_______, DE_HASH, DE_TILD, DE_PIPE, DE_DLR, DE_EURO, DE_PLUS, DE_PERC, DE_DQUO, DE_QUOT, DE_SCLN, _______ ,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______
),
2017-02-09 09:01:39 +00:00
/* M2 Navigation & Number Blocks
* very easy to get used to & intuituve placement
2016-07-20 14:42:09 +00:00
* ,-----------------------------------------------------------------------------------.
2016-07-24 03:02:06 +00:00
* | | PgUp | Bksp | Up | DEL | PgDn | | 7 | 8 | 9 | | Ins |
2016-07-20 14:42:09 +00:00
* |------+------+------+------+------+-------------+------+------+------+------+------|
2017-02-09 12:07:59 +00:00
* | Tab | Home | Lft | Down | Right| End | | 4 | 5 | 6 | . | Enter|
2016-07-20 14:42:09 +00:00
* |------+------+------+------+------+------|------+------+------+------+------+------|
2017-02-09 12:07:59 +00:00
* | Shift| | Tab | | Enter| | 0 | 1 | 2 | 3 | , |Shift |
2016-07-20 14:42:09 +00:00
* |------+------+------+------+------+------+------+------+------+------+------+------|
2016-07-24 02:52:35 +00:00
* | Ctrl | GUI | Alt | M3 | M2 | Space | M2 | M3 | Alt | Esc | Ctrl |
2016-07-20 14:42:09 +00:00
* `-----------------------------------------------------------------------------------'
*/
[2] = LAYOUT_planck_grid(
XXXXXXX, KC_PGUP, KC_BSPC, KC_UP, KC_DEL, KC_PGDN, XXXXXXX, DE_7, DE_8, DE_9, XXXXXXX, KC_INS ,
KC_TAB, KC_HOME, KC_LEFT, KC_DOWN, KC_RGHT, KC_END, XXXXXXX, DE_4, DE_5, DE_6, DE_DOT, KC_ENT ,
_______, XXXXXXX, KC_TAB, XXXXXXX, KC_ENT, XXXXXXX, DE_0, DE_1, DE_2, DE_3, DE_COMM, _______ ,
_______, _______, _______, MO(3), _______, _______, _______, _______, MO(3), _______, _______, _______
),
2017-02-09 09:01:39 +00:00
/* M3 Switched Navigation & Number Blocks for one handed use
* accessed by sliding from M2 to M3 with thumb
2016-07-20 14:42:09 +00:00
* ,-----------------------------------------------------------------------------------.
2017-02-09 12:07:59 +00:00
* | Ins | | 7 | 8 | 9 | | PgUp | Bksp | Up | DEL | PgDn | |
2016-07-20 14:42:09 +00:00
* |------+------+------+------+------+-------------+------+------+------+------+------|
2017-02-09 12:07:59 +00:00
* | Tab | | 4 | 5 | 6 | . | Home | Left | Down | Right| End | Enter|
2016-07-20 14:42:09 +00:00
* |------+------+------+------+------+------|------+------+------+------+------+------|
2017-02-09 12:07:59 +00:00
* | Shift| 0 | 1 | 2 | 3 | , | | Tab | | Enter| |Shift |
2016-07-20 14:42:09 +00:00
* |------+------+------+------+------+------+------+------+------+------+------+------|
2016-07-24 02:52:35 +00:00
* | Ctrl | GUI | Alt | M3 | | Space | | M3 | Alt | Esc | Ctrl |
2016-07-20 14:42:09 +00:00
* `-----------------------------------------------------------------------------------'
*/
[3] = LAYOUT_planck_grid(
KC_INS, XXXXXXX, DE_7, DE_8, DE_9, XXXXXXX, KC_PGUP, KC_BSPC, KC_UP, KC_DEL, KC_PGDN, XXXXXXX ,
_______, XXXXXXX, DE_4, DE_5, DE_6, DE_DOT, KC_HOME, KC_LEFT, KC_DOWN, KC_RGHT, KC_END, _______ ,
_______, DE_0, DE_1, DE_2, DE_3, DE_COMM, XXXXXXX, KC_TAB, XXXXXXX, KC_ENT, XXXXXXX, _______ ,
_______, _______, _______, _______, XXXXXXX, _______, _______, XXXXXXX, _______, _______, _______, _______
),
2016-07-20 14:42:09 +00:00
2017-02-09 09:01:39 +00:00
/* M4 Function & Media Keys
2016-07-20 14:42:09 +00:00
* ,-----------------------------------------------------------------------------------.
* | | | Print|Scroll|Pause | | | F7 | F8 | F9 | F12 | |
* |------+------+------+------+------+-------------+------+------+------+------+------|
2017-02-09 12:07:59 +00:00
* | Tab | | Mute | Vol- | Vol+ | | ³ | F4 | F5 | F6 | F11 | Enter|
2016-07-20 14:42:09 +00:00
* |------+------+------+------+------+------|------+------+------+------+------+------|
* | Shift| | Prev | Play | Next | | ² | F1 | F2 | F3 | F10 |Shift |
* |------+------+------+------+------+------+------+------+------+------+------+------|
2016-07-24 02:52:35 +00:00
* | Ctrl | GUI | Alt | M4 | M5 | Space | M5 | M4 | Alt | Esc | Ctrl |
2016-07-20 14:42:09 +00:00
* `-----------------------------------------------------------------------------------'
*/
[4] = LAYOUT_planck_grid(
XXXXXXX, XXXXXXX, KC_PSCR, KC_SLCK, KC_PAUS, XXXXXXX, XXXXXXX, KC_F7, KC_F8, KC_F9, KC_F12, XXXXXXX ,
KC_TAB, XXXXXXX, KC_MUTE, KC_VOLD, KC_VOLU, XXXXXXX, DE_SUP3, KC_F4, KC_F5, KC_F6, KC_F11, KC_ENT ,
_______, XXXXXXX, KC_MPRV, KC_MPLY, KC_MNXT, XXXXXXX, DE_SUP2, KC_F1, KC_F2, KC_F3, KC_F10, _______ ,
_______, _______, _______, _______, MO(5), _______, _______, MO(5), _______, _______, _______, _______
),
2016-07-20 14:42:09 +00:00
2017-02-09 09:01:39 +00:00
/* M5 Switched Function & Media Keys|
* accessed by sliding from M4 to M5 with thumb
2016-07-20 14:42:09 +00:00
* ,-----------------------------------------------------------------------------------.
2016-07-25 18:21:32 +00:00
* | | | F7 | F8 | F9 | F12 | | Print|Scroll| Pause| | |
2016-07-20 14:42:09 +00:00
* |------+------+------+------+------+-------------+------+------+------+------+------|
2017-02-09 12:07:59 +00:00
* | Tab | ³ | F4 | F5 | F6 | F11 | | Mute | Vol- | Vol+ | | Enter|
2016-07-20 14:42:09 +00:00
* |------+------+------+------+------+------|------+------+------+------+------+------|
2016-07-25 18:21:32 +00:00
* | Shift| ² | F1 | F2 | F3 | F10 | | Prev | Play | Next | |Shift |
2016-07-20 14:42:09 +00:00
* |------+------+------+------+------+------+------+------+------+------+------+------|
2016-07-24 02:52:35 +00:00
* | Ctrl | GUI | Alt | | M5 | Space | M5 | | Alt | Esc | Ctrl |
2016-07-20 14:42:09 +00:00
* `-----------------------------------------------------------------------------------'
*/
[5] = LAYOUT_planck_grid(
XXXXXXX, XXXXXXX, KC_F7, KC_F8, KC_F9, KC_F12, XXXXXXX, KC_PSCR, KC_SLCK, KC_PAUS, XXXXXXX, XXXXXXX ,
_______, DE_SUP3, KC_F4, KC_F5, KC_F6, KC_F11, XXXXXXX, KC_MUTE, KC_VOLD, KC_VOLU, XXXXXXX, _______ ,
_______, DE_SUP2, KC_F1, KC_F2, KC_F3, KC_F10, XXXXXXX, KC_MPRV, KC_MPLY, KC_MNXT, XXXXXXX, _______ ,
_______, _______, _______, XXXXXXX, _______, _______, _______, _______, XXXXXXX, _______, _______, _______
)
};