aboutsummaryrefslogtreecommitdiff
path: root/keyboards/planck/keymaps/bone2planck/keymap.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/planck/keymaps/bone2planck/keymap.c')
-rw-r--r--keyboards/planck/keymaps/bone2planck/keymap.c79
1 files changed, 41 insertions, 38 deletions
diff --git a/keyboards/planck/keymaps/bone2planck/keymap.c b/keyboards/planck/keymaps/bone2planck/keymap.c
index 69d164b8c..5f77acf91 100644
--- a/keyboards/planck/keymaps/bone2planck/keymap.c
+++ b/keyboards/planck/keymaps/bone2planck/keymap.c
@@ -7,11 +7,12 @@
7// for intellisense, has to be commented for building 7// for intellisense, has to be commented for building
8/* 8/*
9#include "..\..\..\..\quantum\keymap_extras\keymap_german.h" 9#include "..\..\..\..\quantum\keymap_extras\keymap_german.h"
10#include "..\..\..\..\quantum\keymap_common.h"
11#include "..\..\..\..\tmk_core\common\keycode.h" 10#include "..\..\..\..\tmk_core\common\keycode.h"
12*/ 11*/
13 12
13
14#define _______ KC_TRNS 14#define _______ KC_TRNS
15#define XXXXXXX KC_NO
15 16
16/* This Layout tries to emulate the Bone2 Variant of Neo2, and is intended to be used with a German QWERTZ Softwarelayout. 17/* This Layout tries to emulate the Bone2 Variant of Neo2, and is intended to be used with a German QWERTZ Softwarelayout.
17It has "üäöß" as it is optimized for a mix of German & English. 18It has "üäöß" as it is optimized for a mix of German & English.
@@ -23,11 +24,11 @@ Bone2 wiki page: http://wiki.neo-layout.org/wiki/Bone
23 24
24const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { 25const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
25 26
26/* Bone2 27/* Bone2 (adapted)
27* ,-----------------------------------------------------------------------------------. 28* ,-----------------------------------------------------------------------------------.
28* | Q | J | D | U | A | X | P | H | L | M | W | | 29* | ß | J | D | U | A | X | P | H | L | M | W | Q |
29* |------+------+------+------+------+-------------+------+------+------+------+------| 30* |------+------+------+------+------+-------------+------+------+------+------+------|
30* |M1/Tab| C | T | I | E | O | B | N | R | S | G |M1/Ent| //hold for M1, tap for Tab/Enter 31* | M1 | C | T | I | E | O | B | N | R | S | G |M1/Ent| //hold for M1, tap for Enter
31* |------+------+------+------+------+------|------+------+------+------+------+------| 32* |------+------+------+------+------+------|------+------+------+------+------+------|
32* | Shift| F | V | Ü | Ä | Ö | Y | Z | , | . | K |Shift | 33* | Shift| F | V | Ü | Ä | Ö | Y | Z | , | . | K |Shift |
33* |------+------+------+------+------+------+------+------+------+------+------+------| 34* |------+------+------+------+------+------+------+------+------+------+------+------|
@@ -35,20 +36,21 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
35* `-----------------------------------------------------------------------------------' 36* `-----------------------------------------------------------------------------------'
36*/ 37*/
37[0] = { 38[0] = {
38 { DE_Q, DE_J, DE_D, DE_U, DE_A, DE_X, DE_P, DE_H, DE_L, DE_M, DE_W, DE_SS }, 39 { DE_SS, DE_J, DE_D, DE_U, DE_A, DE_X, DE_P, DE_H, DE_L, DE_M, DE_W, DE_Q },
39 { 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) }, 40 //{ 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) },
41 { 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) },
40 { KC_LSFT, DE_F, DE_V, DE_UE, DE_AE, DE_OE, DE_Y, DE_Z, DE_COMM, DE_DOT, DE_K, KC_LSFT }, 42 { KC_LSFT, DE_F, DE_V, DE_UE, DE_AE, DE_OE, DE_Y, DE_Z, DE_COMM, DE_DOT, DE_K, KC_LSFT },
41 { KC_LCTL, KC_RGUI, KC_LALT, MO(4), MO(2), KC_SPC, KC_SPC, MO(2), MO(4), KC_RALT, KC_ESC, KC_RCTL } 43 { KC_LCTL, KC_RGUI, KC_LALT, MO(4), MO(2), KC_SPC, KC_SPC, MO(2), MO(4), KC_RALT, KC_ESC, KC_RCTL }
42}, 44},
43 45
44/* M1 Special Characters 46/* M1 Special Characters
45very ergonomic placement for coding 47* very ergonomic placement for coding
46* ,-----------------------------------------------------------------------------------. 48* ,-----------------------------------------------------------------------------------.
47* | ° | @ | _ | [ | ] | ^ | ! | < | > | = | & | ´ | 49* | ° | @ | _ | [ | ] | ^ | ! | < | > | = | & | ´ |
48* |------+------+------+------+------+-------------+------+------+------+------+------| 50* |------+------+------+------+------+-------------+------+------+------+------+------|
49* |M1/Tab| \ | / | { | } | * | ? | ( | ) | - | : |M1/Ent| //hold for M1, tap for Tab/Enter 51* | M1 | \ | / | { | } | * | ? | ( | ) | - | : |M1/Ent| //hold for M1, tap for Enter
50* |------+------+------+------+------+------|------+------+------+------+------+------| 52* |------+------+------+------+------+------|------+------+------+------+------+------|
51* | Shift| # | $ | | | ~ | € | + | % | " | ' | ; |Shift | 53* | Shift| # | ~ | | | $ | € | + | % | " | ' | ; |Shift |
52* |------+------+------+------+------+------+------+------+------+------+------+------| 54* |------+------+------+------+------+------+------+------+------+------+------+------|
53* | Ctrl | GUI | Alt | M4 | M2 | Space | M2 | M4 | Alt | Esc | Ctrl | 55* | Ctrl | GUI | Alt | M4 | M2 | Space | M2 | M4 | Alt | Esc | Ctrl |
54* `-----------------------------------------------------------------------------------' 56* `-----------------------------------------------------------------------------------'
@@ -56,56 +58,55 @@ very ergonomic placement for coding
56[1] = { 58[1] = {
57 { DE_RING, DE_AT, DE_UNDS, DE_LBRC, DE_RBRC, DE_CIRC, DE_EXLM, DE_LESS, DE_MORE, DE_EQL, DE_AMPR, DE_ACUT }, 59 { DE_RING, DE_AT, DE_UNDS, DE_LBRC, DE_RBRC, DE_CIRC, DE_EXLM, DE_LESS, DE_MORE, DE_EQL, DE_AMPR, DE_ACUT },
58 { _______, DE_BSLS, DE_SLSH, DE_LCBR, DE_RCBR, DE_ASTR, DE_QST, DE_LPRN, DE_RPRN, DE_MINS, DE_COLN, _______ }, 60 { _______, DE_BSLS, DE_SLSH, DE_LCBR, DE_RCBR, DE_ASTR, DE_QST, DE_LPRN, DE_RPRN, DE_MINS, DE_COLN, _______ },
59 { _______, DE_HASH, DE_DLR, DE_PIPE, DE_TILD, DE_EURO, DE_PLUS, DE_PERC, DE_DQOT, DE_QUOT, DE_SCLN, _______ }, 61 { _______, DE_HASH, DE_TILD, DE_PIPE, DE_DLR, DE_EURO, DE_PLUS, DE_PERC, DE_DQOT, DE_QUOT, DE_SCLN, _______ },
60 { _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ } 62 { _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ }
61}, 63},
62 64
63/* Navigation & Number Blocks 65/* M2 Navigation & Number Blocks
64very easy to get used to & intuituve placement 66* very easy to get used to & intuituve placement
65* ,-----------------------------------------------------------------------------------. 67* ,-----------------------------------------------------------------------------------.
66* | | PgUp | Bksp | Up | DEL | PgDn | | 7 | 8 | 9 | | Ins | 68* | | PgUp | Bksp | Up | DEL | PgDn | | 7 | 8 | 9 | | Ins |
67* |------+------+------+------+------+-------------+------+------+------+------+------| 69* |------+------+------+------+------+-------------+------+------+------+------+------|
68* | Tab | Home | Lft | Down | Right| End | . | 4 | 5 | 6 | , | Enter| 70* | Tab | Home | Lft | Down | Right| End | | 4 | 5 | 6 | . | Enter|
69* |------+------+------+------+------+------|------+------+------+------+------+------| 71* |------+------+------+------+------+------|------+------+------+------+------+------|
70* | Shift| | Tab | | Enter| | 0 | 1 | 2 | 3 | ; |Shift | 72* | Shift| | Tab | | Enter| | 0 | 1 | 2 | 3 | , |Shift |
71* |------+------+------+------+------+------+------+------+------+------+------+------| 73* |------+------+------+------+------+------+------+------+------+------+------+------|
72* | Ctrl | GUI | Alt | M3 | M2 | Space | M2 | M3 | Alt | Esc | Ctrl | 74* | Ctrl | GUI | Alt | M3 | M2 | Space | M2 | M3 | Alt | Esc | Ctrl |
73* `-----------------------------------------------------------------------------------' 75* `-----------------------------------------------------------------------------------'
74*/ 76*/
75[2] = { 77[2] = {
76 { KC_NO, KC_PGUP, KC_BSPC, KC_UP, KC_DEL, KC_PGDN, KC_NO, DE_7, DE_8, DE_9, KC_NO, KC_INS }, 78 { XXXXXXX, KC_PGUP, KC_BSPC, KC_UP, KC_DEL, KC_PGDN, XXXXXXX, DE_7, DE_8, DE_9, XXXXXXX, KC_INS },
77 { KC_TAB, KC_HOME, KC_LEFT, KC_DOWN, KC_RGHT, KC_END, DE_DOT, DE_4, DE_5, DE_6, DE_COMM, KC_ENT }, 79 { KC_TAB, KC_HOME, KC_LEFT, KC_DOWN, KC_RGHT, KC_END, XXXXXXX, DE_4, DE_5, DE_6, DE_DOT, KC_ENT },
78 { _______, KC_NO, KC_TAB, KC_NO, KC_ENT, KC_NO, DE_0, DE_1, DE_2, DE_3, DE_SCLN, _______ }, 80 { _______, XXXXXXX, KC_TAB, XXXXXXX, KC_ENT, XXXXXXX, DE_0, DE_1, DE_2, DE_3, DE_COMM, _______ },
79 { _______, _______, _______, MO(3), _______, _______, _______, _______, MO(3), _______, _______, _______ } 81 { _______, _______, _______, MO(3), _______, _______, _______, _______, MO(3), _______, _______, _______ }
80}, 82},
81 83
82/* Flipped Navigation & Number Blocks for one handed use 84/* M3 Switched Navigation & Number Blocks for one handed use
83accessed by sliding from M2 to M3 with thumb 85* accessed by sliding from M2 to M3 with thumb
84* ,-----------------------------------------------------------------------------------. 86* ,-----------------------------------------------------------------------------------.
85* | Ins | | 7 | 8 | 9 | | PgUp | Bksp | Up | DEL | PgDn | | 87* | Ins | | 7 | 8 | 9 | | PgUp | Bksp | Up | DEL | PgDn | |
86* |------+------+------+------+------+-------------+------+------+------+------+------| 88* |------+------+------+------+------+-------------+------+------+------+------+------|
87* | Tab | . | 4 | 5 | 6 | , | Home | Left | Down | Right| End | Enter| 89* | Tab | | 4 | 5 | 6 | . | Home | Left | Down | Right| End | Enter|
88* |------+------+------+------+------+------|------+------+------+------+------+------| 90* |------+------+------+------+------+------|------+------+------+------+------+------|
89* | Shift| 0 | 1 | 2 | 3 | ; | | Tab | Ins | Enter| |Shift | 91* | Shift| 0 | 1 | 2 | 3 | , | | Tab | | Enter| |Shift |
90* |------+------+------+------+------+------+------+------+------+------+------+------| 92* |------+------+------+------+------+------+------+------+------+------+------+------|
91* | Ctrl | GUI | Alt | M3 | | Space | | M3 | Alt | Esc | Ctrl | 93* | Ctrl | GUI | Alt | M3 | | Space | | M3 | Alt | Esc | Ctrl |
92* `-----------------------------------------------------------------------------------' 94* `-----------------------------------------------------------------------------------'
93*/ 95*/
94 96
95[3] = { 97[3] = {
96 { KC_INS, KC_NO, DE_7, DE_8, DE_9, KC_NO, KC_PGUP, KC_BSPC, KC_UP, KC_DEL, KC_PGDN, KC_NO }, 98 { KC_INS, XXXXXXX, DE_7, DE_8, DE_9, XXXXXXX, KC_PGUP, KC_BSPC, KC_UP, KC_DEL, KC_PGDN, XXXXXXX },
97 { _______, DE_DOT, DE_4, DE_5, DE_6, DE_COMM, KC_HOME, KC_LEFT, KC_DOWN, KC_RGHT, KC_END, _______ }, 99 { _______, XXXXXXX, DE_4, DE_5, DE_6, DE_DOT, KC_HOME, KC_LEFT, KC_DOWN, KC_RGHT, KC_END, _______ },
98 { _______, DE_0, DE_1, DE_2, DE_3, DE_SCLN, KC_NO, KC_TAB, KC_INS, KC_ENT, KC_NO, _______ }, 100 { _______, DE_0, DE_1, DE_2, DE_3, DE_COMM, XXXXXXX, KC_TAB, XXXXXXX, KC_ENT, XXXXXXX, _______ },
99 { _______, _______, _______, _______, KC_NO, _______, _______, KC_NO, _______, _______, _______, _______ } 101 { _______, _______, _______, _______, XXXXXXX, _______, _______, XXXXXXX, _______, _______, _______, _______ }
100}, 102},
101 103
102 104
103/* Function & Media Keys 105/* M4 Function & Media Keys
104slide from m4 to m5 to access flipped version
105* ,-----------------------------------------------------------------------------------. 106* ,-----------------------------------------------------------------------------------.
106* | | | Print|Scroll|Pause | | | F7 | F8 | F9 | F12 | | 107* | | | Print|Scroll|Pause | | | F7 | F8 | F9 | F12 | |
107* |------+------+------+------+------+-------------+------+------+------+------+------| 108* |------+------+------+------+------+-------------+------+------+------+------+------|
108* | | | Mute | Vol- | Vol+ | | ³ | F4 | F5 | F6 | F11 | | 109* | Tab | | Mute | Vol- | Vol+ | | ³ | F4 | F5 | F6 | F11 | Enter|
109* |------+------+------+------+------+------|------+------+------+------+------+------| 110* |------+------+------+------+------+------|------+------+------+------+------+------|
110* | Shift| | Prev | Play | Next | | ² | F1 | F2 | F3 | F10 |Shift | 111* | Shift| | Prev | Play | Next | | ² | F1 | F2 | F3 | F10 |Shift |
111* |------+------+------+------+------+------+------+------+------+------+------+------| 112* |------+------+------+------+------+------+------+------+------+------+------+------|
@@ -113,18 +114,19 @@ slide from m4 to m5 to access flipped version
113* `-----------------------------------------------------------------------------------' 114* `-----------------------------------------------------------------------------------'
114*/ 115*/
115[4] = { 116[4] = {
116 { KC_NO, KC_NO, KC_PSCR, KC_SLCK, KC_PAUS, KC_NO, KC_NO, KC_F7, KC_F8, KC_F9, KC_F12, KC_NO }, 117 { XXXXXXX, XXXXXXX, KC_PSCR, KC_SLCK, KC_PAUS, XXXXXXX, XXXXXXX, KC_F7, KC_F8, KC_F9, KC_F12, XXXXXXX },
117 { KC_NO, KC_NO, KC_MUTE, KC_VOLD, KC_VOLU, KC_NO, DE_SQ3, KC_F4, KC_F5, KC_F6, KC_F11, KC_NO }, 118 { KC_TAB, XXXXXXX, KC_MUTE, KC_VOLD, KC_VOLU, XXXXXXX, DE_SQ3, KC_F4, KC_F5, KC_F6, KC_F11, KC_ENT },
118 { _______, KC_NO, KC_MPRV, KC_MPLY, KC_MNXT, KC_NO, DE_SQ2, KC_F1, KC_F2, KC_F3, KC_F10, _______ }, 119 { _______, XXXXXXX, KC_MPRV, KC_MPLY, KC_MNXT, XXXXXXX, DE_SQ2, KC_F1, KC_F2, KC_F3, KC_F10, _______ },
119 { _______, _______, _______, _______, MO(5), _______, _______, MO(5), _______, _______, _______, _______ } 120 { _______, _______, _______, _______, MO(5), _______, _______, MO(5), _______, _______, _______, _______ }
120}, 121},
121 122
122 123
123/* flipped Function & Media Keys 124/* M5 Switched Function & Media Keys|
125* accessed by sliding from M4 to M5 with thumb
124* ,-----------------------------------------------------------------------------------. 126* ,-----------------------------------------------------------------------------------.
125* | | | F7 | F8 | F9 | F12 | | Print|Scroll| Pause| | | 127* | | | F7 | F8 | F9 | F12 | | Print|Scroll| Pause| | |
126* |------+------+------+------+------+-------------+------+------+------+------+------| 128* |------+------+------+------+------+-------------+------+------+------+------+------|
127* | | ³ | F4 | F5 | F6 | F11 | | Mute | Vol- | Vol+ | | | 129* | Tab | ³ | F4 | F5 | F6 | F11 | | Mute | Vol- | Vol+ | | Enter|
128* |------+------+------+------+------+------|------+------+------+------+------+------| 130* |------+------+------+------+------+------|------+------+------+------+------+------|
129* | Shift| ² | F1 | F2 | F3 | F10 | | Prev | Play | Next | |Shift | 131* | Shift| ² | F1 | F2 | F3 | F10 | | Prev | Play | Next | |Shift |
130* |------+------+------+------+------+------+------+------+------+------+------+------| 132* |------+------+------+------+------+------+------+------+------+------+------+------|
@@ -132,13 +134,14 @@ slide from m4 to m5 to access flipped version
132* `-----------------------------------------------------------------------------------' 134* `-----------------------------------------------------------------------------------'
133*/ 135*/
134[5] = { 136[5] = {
135 { KC_NO, KC_NO, KC_F7, KC_F8, KC_F9, KC_F12, KC_NO, KC_PSCR, KC_SLCK, KC_PAUS, KC_NO, KC_NO }, 137 { XXXXXXX, XXXXXXX, KC_F7, KC_F8, KC_F9, KC_F12, XXXXXXX, KC_PSCR, KC_SLCK, KC_PAUS, XXXXXXX, XXXXXXX },
136 { KC_NO, DE_SQ3, KC_F4, KC_F5, KC_F6, KC_F11, KC_NO, KC_MUTE, KC_VOLD, KC_VOLU, KC_NO, KC_NO }, 138 { _______, DE_SQ3, KC_F4, KC_F5, KC_F6, KC_F11, XXXXXXX, KC_MUTE, KC_VOLD, KC_VOLU, XXXXXXX, _______ },
137 { _______, DE_SQ2, KC_F1, KC_F2, KC_F3, KC_F10, KC_NO, KC_MPRV, KC_MPLY, KC_MNXT, KC_NO, _______ }, 139 { _______, DE_SQ2, KC_F1, KC_F2, KC_F3, KC_F10, XXXXXXX, KC_MPRV, KC_MPLY, KC_MNXT, XXXXXXX, _______ },
138 { _______, _______, _______, KC_NO, _______, _______, _______, _______, KC_NO, _______, _______, _______ } 140 { _______, _______, _______, XXXXXXX, _______, _______, _______, _______, XXXXXXX, _______, _______, _______ }
139} 141}
140}; 142};
141 143
144
142const uint16_t PROGMEM fn_actions[] = { 145const uint16_t PROGMEM fn_actions[] = {
143 146
144}; 147};