diff options
-rw-r--r-- | keyboards/planck/keymaps/bone2planck/config.h | 7 | ||||
-rw-r--r-- | keyboards/planck/keymaps/bone2planck/keymap.c | 51 | ||||
-rw-r--r-- | keyboards/planck/keymaps/bone2planck/readme.md | 8 |
3 files changed, 44 insertions, 22 deletions
diff --git a/keyboards/planck/keymaps/bone2planck/config.h b/keyboards/planck/keymaps/bone2planck/config.h new file mode 100644 index 000000000..60aff6db0 --- /dev/null +++ b/keyboards/planck/keymaps/bone2planck/config.h | |||
@@ -0,0 +1,7 @@ | |||
1 | #ifndef CONFIG_USER_H | ||
2 | #define CONFIG_USER_H | ||
3 | #endif | ||
4 | |||
5 | #include "../../config.h" | ||
6 | |||
7 | #define PREVENT_STUCK_MODIFIERS \ No newline at end of file | ||
diff --git a/keyboards/planck/keymaps/bone2planck/keymap.c b/keyboards/planck/keymaps/bone2planck/keymap.c index 66cf9386d..69d164b8c 100644 --- a/keyboards/planck/keymaps/bone2planck/keymap.c +++ b/keyboards/planck/keymaps/bone2planck/keymap.c | |||
@@ -4,6 +4,13 @@ | |||
4 | #endif | 4 | #endif |
5 | #include "keymap_german.h" | 5 | #include "keymap_german.h" |
6 | 6 | ||
7 | // for intellisense, has to be commented for building | ||
8 | /* | ||
9 | #include "..\..\..\..\quantum\keymap_extras\keymap_german.h" | ||
10 | #include "..\..\..\..\quantum\keymap_common.h" | ||
11 | #include "..\..\..\..\tmk_core\common\keycode.h" | ||
12 | */ | ||
13 | |||
7 | #define _______ KC_TRNS | 14 | #define _______ KC_TRNS |
8 | 15 | ||
9 | /* This Layout tries to emulate the Bone2 Variant of Neo2, and is intended to be used with a German QWERTZ Softwarelayout. | 16 | /* This Layout tries to emulate the Bone2 Variant of Neo2, and is intended to be used with a German QWERTZ Softwarelayout. |
@@ -24,14 +31,14 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
24 | * |------+------+------+------+------+------|------+------+------+------+------+------| | 31 | * |------+------+------+------+------+------|------+------+------+------+------+------| |
25 | * | Shift| F | V | Ü | Ä | Ö | Y | Z | , | . | K |Shift | | 32 | * | Shift| F | V | Ü | Ä | Ö | Y | Z | , | . | K |Shift | |
26 | * |------+------+------+------+------+------+------+------+------+------+------+------| | 33 | * |------+------+------+------+------+------+------+------+------+------+------+------| |
27 | * | GUI | Ctrl | Alt | M4 | M2 | Space | M2 | M4 | | Ctrl | Esc | | 34 | * | Ctrl | GUI | Alt | M4 | M2 | Space | M2 | M4 | Alt | Esc | Ctrl | |
28 | * `-----------------------------------------------------------------------------------' | 35 | * `-----------------------------------------------------------------------------------' |
29 | */ | 36 | */ |
30 | [0] = { | 37 | [0] = { |
31 | { DE_Q, DE_J, DE_D, DE_U, DE_A, DE_X, DE_P, DE_H, DE_L, DE_M, DE_W, DE_SS }, | 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 }, |
32 | { 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) }, | 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) }, |
33 | { KC_LSFT, DE_F, DE_V, DE_UE, DE_AE, DE_OE, DE_Y, DE_Z, DE_COMM, DE_DOT, DE_K, KC_LSFT }, | 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 }, |
34 | { KC_LGUI, KC_LCTL, KC_LALT, MO(4), MO(2), KC_SPC, KC_SPC, MO(2), MO(4), KC_NO, KC_RCTL, KC_ESC } | 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 } |
35 | }, | 42 | }, |
36 | 43 | ||
37 | /* M1 Special Characters | 44 | /* M1 Special Characters |
@@ -43,7 +50,7 @@ very ergonomic placement for coding | |||
43 | * |------+------+------+------+------+------|------+------+------+------+------+------| | 50 | * |------+------+------+------+------+------|------+------+------+------+------+------| |
44 | * | Shift| # | $ | | | ~ | € | + | % | " | ' | ; |Shift | | 51 | * | Shift| # | $ | | | ~ | € | + | % | " | ' | ; |Shift | |
45 | * |------+------+------+------+------+------+------+------+------+------+------+------| | 52 | * |------+------+------+------+------+------+------+------+------+------+------+------| |
46 | * | GUI | Ctrl | Alt | M4 | M2 | Space | M2 | M4 | | Ctrl | Esc | | 53 | * | Ctrl | GUI | Alt | M4 | M2 | Space | M2 | M4 | Alt | Esc | Ctrl | |
47 | * `-----------------------------------------------------------------------------------' | 54 | * `-----------------------------------------------------------------------------------' |
48 | */ | 55 | */ |
49 | [1] = { | 56 | [1] = { |
@@ -56,37 +63,37 @@ very ergonomic placement for coding | |||
56 | /* Navigation & Number Blocks | 63 | /* Navigation & Number Blocks |
57 | very easy to get used to & intuituve placement | 64 | very easy to get used to & intuituve placement |
58 | * ,-----------------------------------------------------------------------------------. | 65 | * ,-----------------------------------------------------------------------------------. |
59 | * | | PgUp | Bksp | Up | DEL | PgDn | | 7 | 8 | 9 | | | | 66 | * | | PgUp | Bksp | Up | DEL | PgDn | | 7 | 8 | 9 | | Ins | |
60 | * |------+------+------+------+------+-------------+------+------+------+------+------| | 67 | * |------+------+------+------+------+-------------+------+------+------+------+------| |
61 | * | Tab | Home | Lft | Down | Right| End | . | 4 | 5 | 6 | , | Enter| | 68 | * | Tab | Home | Lft | Down | Right| End | . | 4 | 5 | 6 | , | Enter| |
62 | * |------+------+------+------+------+------|------+------+------+------+------+------| | 69 | * |------+------+------+------+------+------|------+------+------+------+------+------| |
63 | * | Shift| | Tab | Ins | Enter| | 0 | 1 | 2 | 3 | ; |Shift | | 70 | * | Shift| | Tab | | Enter| | 0 | 1 | 2 | 3 | ; |Shift | |
64 | * |------+------+------+------+------+------+------+------+------+------+------+------| | 71 | * |------+------+------+------+------+------+------+------+------+------+------+------| |
65 | * | GUI | Ctrl | Alt | M3 | M2 | Space | M2 | M3 | | Ctrl | Esc | | 72 | * | Ctrl | GUI | Alt | M3 | M2 | Space | M2 | M3 | Alt | Esc | Ctrl | |
66 | * `-----------------------------------------------------------------------------------' | 73 | * `-----------------------------------------------------------------------------------' |
67 | */ | 74 | */ |
68 | [2] = { | 75 | [2] = { |
69 | { KC_NO, KC_PGUP, KC_BSPC, KC_UP, KC_DEL, KC_PGDN, KC_NO, DE_7, DE_8, DE_9, KC_NO, KC_NO }, | 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 }, |
70 | { KC_TAB, KC_HOME, KC_LEFT, KC_DOWN, KC_RGHT, KC_END, DE_DOT, DE_4, DE_5, DE_6, DE_COMM, KC_ENT }, | 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 }, |
71 | { _______, KC_NO, KC_TAB, KC_INS, KC_ENT, KC_NO, DE_0, DE_1, DE_2, DE_3, DE_SCLN, _______ }, | 78 | { _______, KC_NO, KC_TAB, KC_NO, KC_ENT, KC_NO, DE_0, DE_1, DE_2, DE_3, DE_SCLN, _______ }, |
72 | { _______, _______, _______, MO(3), _______, _______, _______, _______, MO(3), _______, _______, _______ } | 79 | { _______, _______, _______, MO(3), _______, _______, _______, _______, MO(3), _______, _______, _______ } |
73 | }, | 80 | }, |
74 | 81 | ||
75 | /* Flipped Navigation & Number Blocks for one handed use | 82 | /* Flipped Navigation & Number Blocks for one handed use |
76 | accessed by sliding from M2 to M3 with thumb | 83 | accessed by sliding from M2 to M3 with thumb |
77 | * ,-----------------------------------------------------------------------------------. | 84 | * ,-----------------------------------------------------------------------------------. |
78 | * | | | 7 | 8 | 9 | | PgUp | Bksp | Up | DEL | PgDn | | | 85 | * | Ins | | 7 | 8 | 9 | | PgUp | Bksp | Up | DEL | PgDn | | |
79 | * |------+------+------+------+------+-------------+------+------+------+------+------| | 86 | * |------+------+------+------+------+-------------+------+------+------+------+------| |
80 | * | Tab | . | 4 | 5 | 6 | , | Home | Left | Down | Right| End | Enter| | 87 | * | Tab | . | 4 | 5 | 6 | , | Home | Left | Down | Right| End | Enter| |
81 | * |------+------+------+------+------+------|------+------+------+------+------+------| | 88 | * |------+------+------+------+------+------|------+------+------+------+------+------| |
82 | * | Shift| 0 | 1 | 2 | 3 | ; | | Tab | Ins | Enter| |Shift | | 89 | * | Shift| 0 | 1 | 2 | 3 | ; | | Tab | Ins | Enter| |Shift | |
83 | * |------+------+------+------+------+------+------+------+------+------+------+------| | 90 | * |------+------+------+------+------+------+------+------+------+------+------+------| |
84 | * | GUI | Ctrl | Alt | M3 | | Space | | M3 | | Ctrl | Esc | | 91 | * | Ctrl | GUI | Alt | M3 | | Space | | M3 | Alt | Esc | Ctrl | |
85 | * `-----------------------------------------------------------------------------------' | 92 | * `-----------------------------------------------------------------------------------' |
86 | */ | 93 | */ |
87 | 94 | ||
88 | [3] = { | 95 | [3] = { |
89 | { KC_NO, KC_NO, DE_7, DE_8, DE_9, KC_NO, KC_PGUP, KC_BSPC, KC_UP, KC_DEL, KC_PGDN, KC_NO }, | 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 }, |
90 | { _______, DE_DOT, DE_4, DE_5, DE_6, DE_COMM, KC_HOME, KC_LEFT, KC_DOWN, KC_RGHT, KC_END, _______ }, | 97 | { _______, DE_DOT, DE_4, DE_5, DE_6, DE_COMM, KC_HOME, KC_LEFT, KC_DOWN, KC_RGHT, KC_END, _______ }, |
91 | { _______, DE_0, DE_1, DE_2, DE_3, DE_SCLN, KC_NO, KC_TAB, KC_INS, KC_ENT, KC_NO, _______ }, | 98 | { _______, DE_0, DE_1, DE_2, DE_3, DE_SCLN, KC_NO, KC_TAB, KC_INS, KC_ENT, KC_NO, _______ }, |
92 | { _______, _______, _______, _______, KC_NO, _______, _______, KC_NO, _______, _______, _______, _______ } | 99 | { _______, _______, _______, _______, KC_NO, _______, _______, KC_NO, _______, _______, _______, _______ } |
@@ -102,7 +109,7 @@ slide from m4 to m5 to access flipped version | |||
102 | * |------+------+------+------+------+------|------+------+------+------+------+------| | 109 | * |------+------+------+------+------+------|------+------+------+------+------+------| |
103 | * | Shift| | Prev | Play | Next | | ² | F1 | F2 | F3 | F10 |Shift | | 110 | * | Shift| | Prev | Play | Next | | ² | F1 | F2 | F3 | F10 |Shift | |
104 | * |------+------+------+------+------+------+------+------+------+------+------+------| | 111 | * |------+------+------+------+------+------+------+------+------+------+------+------| |
105 | * | GUI | Ctrl | Alt | M4 | M5 | Space | M5 | M4 | | Ctrl | Esc | | 112 | * | Ctrl | GUI | Alt | M4 | M5 | Space | M5 | M4 | Alt | Esc | Ctrl | |
106 | * `-----------------------------------------------------------------------------------' | 113 | * `-----------------------------------------------------------------------------------' |
107 | */ | 114 | */ |
108 | [4] = { | 115 | [4] = { |
@@ -115,19 +122,19 @@ slide from m4 to m5 to access flipped version | |||
115 | 122 | ||
116 | /* flipped Function & Media Keys | 123 | /* flipped Function & Media Keys |
117 | * ,-----------------------------------------------------------------------------------. | 124 | * ,-----------------------------------------------------------------------------------. |
118 | * | | | F7 | F8 | F9 | | | Print|Scroll| Pause| | | | 125 | * | | | F7 | F8 | F9 | F12 | | Print|Scroll| Pause| | | |
119 | * |------+------+------+------+------+-------------+------+------+------+------+------| | 126 | * |------+------+------+------+------+-------------+------+------+------+------+------| |
120 | * | | ³ | F4 | F5 | F6 | | | Mute | Vol- | Vol+ | | | | 127 | * | | ³ | F4 | F5 | F6 | F11 | | Mute | Vol- | Vol+ | | | |
121 | * |------+------+------+------+------+------|------+------+------+------+------+------| | 128 | * |------+------+------+------+------+------|------+------+------+------+------+------| |
122 | * | Shift| ² | F1 | F2 | F3 | | | Prev | Play | Next | |Shift | | 129 | * | Shift| ² | F1 | F2 | F3 | F10 | | Prev | Play | Next | |Shift | |
123 | * |------+------+------+------+------+------+------+------+------+------+------+------| | 130 | * |------+------+------+------+------+------+------+------+------+------+------+------| |
124 | * | GUI | Ctrl | Alt | | M5 | Space | M5 | | | Ctrl | Esc | | 131 | * | Ctrl | GUI | Alt | | M5 | Space | M5 | | Alt | Esc | Ctrl | |
125 | * `-----------------------------------------------------------------------------------' | 132 | * `-----------------------------------------------------------------------------------' |
126 | */ | 133 | */ |
127 | [5] = { | 134 | [5] = { |
128 | { KC_NO, KC_NO, KC_F7, KC_F8, KC_F9, KC_NO, KC_NO, KC_PSCR, KC_SLCK, KC_PAUS, KC_NO, KC_NO }, | 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 }, |
129 | { KC_NO, DE_SQ3, KC_F4, KC_F5, KC_F6, KC_NO, KC_NO, KC_MUTE, KC_VOLD, KC_VOLU, KC_NO, KC_NO }, | 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 }, |
130 | { _______, DE_SQ2, KC_F1, KC_F2, KC_F3, KC_NO, KC_NO, KC_MPRV, KC_MPLY, KC_MNXT, KC_NO, _______ }, | 137 | { _______, DE_SQ2, KC_F1, KC_F2, KC_F3, KC_F10, KC_NO, KC_MPRV, KC_MPLY, KC_MNXT, KC_NO, _______ }, |
131 | { _______, _______, _______, KC_NO, _______, _______, _______, _______, KC_NO, _______, _______, _______ } | 138 | { _______, _______, _______, KC_NO, _______, _______, _______, _______, KC_NO, _______, _______, _______ } |
132 | } | 139 | } |
133 | }; | 140 | }; |
diff --git a/keyboards/planck/keymaps/bone2planck/readme.md b/keyboards/planck/keymaps/bone2planck/readme.md new file mode 100644 index 000000000..3c425efdd --- /dev/null +++ b/keyboards/planck/keymaps/bone2planck/readme.md | |||
@@ -0,0 +1,8 @@ | |||
1 | check keymap.c to the layers | ||
2 | |||
3 | This Layout tries to emulate the Bone2 Variant of Neo2, and is intended to be used with a German QWERTZ Softwarelayout. | ||
4 | It has "üäöß" as it is optimized for a mix of German & English. | ||
5 | My favourite features are the placement of the special characters often used for programming right on the home row | ||
6 | and the number & navigation block combo, so you never have to move your hands from their home position. | ||
7 | |||
8 | Bone2 wiki page: http://wiki.neo-layout.org/wiki/Bone \ No newline at end of file | ||