summaryrefslogtreecommitdiff
path: root/quantum/keymap_extras/keymap_neo2.h
diff options
context:
space:
mode:
authorFlorian Didron <0x6664@hey.com>2022-06-23 10:45:53 +0900
committerFlorian Didron <0x6664@hey.com>2022-06-23 10:45:53 +0900
commit806763817652ababbc3e0609f3423bceb6009bef (patch)
tree0be07bf2726d86fa7ec37422b25cc4c9c9d8ba3b /quantum/keymap_extras/keymap_neo2.h
parent523fa6fea68ebe0732a4e5758fd03ce5c2da3b87 (diff)
fix: rollback locales to the latest version from v20
Diffstat (limited to 'quantum/keymap_extras/keymap_neo2.h')
-rw-r--r--quantum/keymap_extras/keymap_neo2.h130
1 files changed, 59 insertions, 71 deletions
diff --git a/quantum/keymap_extras/keymap_neo2.h b/quantum/keymap_extras/keymap_neo2.h
index f9fc00d794..818a739c76 100644
--- a/quantum/keymap_extras/keymap_neo2.h
+++ b/quantum/keymap_extras/keymap_neo2.h
@@ -13,78 +13,66 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-
-#pragma once
+#ifndef KEYMAP_NEO2
+#define KEYMAP_NEO2
#include "keymap.h"
+#include "keymap_german.h"
-// clang-format off
+#define NEO_A KC_D
+#define NEO_B KC_N
+#define NEO_C KC_R
+#define NEO_D DE_OE
+#define NEO_E KC_F
+#define NEO_F KC_O
+#define NEO_G KC_I
+#define NEO_H KC_U
+#define NEO_I KC_S
+#define NEO_J DE_MINS
+#define NEO_K DE_Z
+#define NEO_L KC_E
+#define NEO_M KC_M
+#define NEO_N KC_J
+#define NEO_O KC_G
+#define NEO_P KC_V
+#define NEO_Q KC_P
+#define NEO_R KC_K
+#define NEO_S KC_H
+#define NEO_T KC_L
+#define NEO_U KC_A
+#define NEO_V KC_W
+#define NEO_W KC_T
+#define NEO_X KC_Q
+#define NEO_Y DE_AE
+#define NEO_Z KC_B
+#define NEO_AE KC_C
+#define NEO_OE KC_X
+#define NEO_UE DE_Y
+#define NEO_SS DE_UE
-/*
- * ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───────┐
- * │ ^ │ 1 │ 2 │ 3 │ 4 │ 5 │ 6 │ 7 │ 8 │ 9 │ 0 │ - │ ` │ │
- * ├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─────┤
- * │ │ X │ V │ L │ C │ W │ K │ H │ G │ F │ Q │ ß │ ´ │ │
- * ├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┐ │
- * │ L3 │ U │ I │ A │ E │ O │ S │ N │ R │ T │ D │ Y │ L3│ │
- * ├────┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴───┴────┤
- * │ │L4 │ Ü │ Ö │ Ä │ P │ Z │ B │ M │ , │ . │ J │ │
- * ├────┼───┴┬──┴─┬─┴───┴───┴───┴───┴───┴──┬┴───┼───┴┬────┬────┤
- * │ │ │ │ │ │ L4 │ │ │
- * └────┴────┴────┴────────────────────────┴────┴────┴────┴────┘
- */
-// Row 1
-#define NE_CIRC KC_GRV // ^ (dead)
-#define NE_1 KC_1 // 1
-#define NE_2 KC_2 // 2
-#define NE_3 KC_3 // 3
-#define NE_4 KC_4 // 4
-#define NE_5 KC_5 // 5
-#define NE_6 KC_6 // 6
-#define NE_7 KC_7 // 7
-#define NE_8 KC_8 // 8
-#define NE_9 KC_9 // 9
-#define NE_0 KC_0 // 0
-#define NE_MINS KC_MINS // -
-#define NE_GRV KC_EQL // ` (dead)
-// Row 2
-#define NE_X KC_Q // X
-#define NE_V KC_W // V
-#define NE_L KC_E // L
-#define NE_C KC_R // C
-#define NE_W KC_T // W
-#define NE_K KC_Y // K
-#define NE_H KC_U // H
-#define NE_G KC_I // G
-#define NE_F KC_O // F
-#define NE_Q KC_P // Q
-#define NE_SS KC_LBRC // ß
-#define NE_ACUT KC_RBRC // ´ (dead)
-// Row 3
-#define NE_L3L KC_CAPS // (layer 3)
-#define NE_U KC_A // U
-#define NE_I KC_S // I
-#define NE_A KC_D // A
-#define NE_E KC_F // E
-#define NE_O KC_G // O
-#define NE_S KC_H // S
-#define NE_N KC_J // N
-#define NE_R KC_K // R
-#define NE_T KC_L // T
-#define NE_D KC_SCLN // D
-#define NE_Y KC_QUOT // Y
-#define NE_L3R KC_NUHS // (layer 3)
-// Row 4
-#define NE_L4L KC_NUBS // (layer 4)
-#define NE_UDIA KC_Z // Ü
-#define NE_ODIA KC_X // Ö
-#define NE_ADIA KC_C // Ä
-#define NE_P KC_V // P
-#define NE_Z KC_B // Z
-#define NE_B KC_N // B
-#define NE_M KC_M // M
-#define NE_COMM KC_COMM // ,
-#define NE_DOT KC_DOT // .
-#define NE_J KC_SLSH // J
-// Row 5
-#define NE_L4R KC_ALGR // (layer 4)
+#define NEO_DOT DE_DOT
+#define NEO_COMM DE_COMM
+
+#define NEO_1 DE_1
+#define NEO_2 DE_2
+#define NEO_3 DE_3
+#define NEO_4 DE_4
+#define NEO_5 DE_5
+#define NEO_6 DE_6
+#define NEO_7 DE_7
+#define NEO_8 DE_8
+#define NEO_9 DE_9
+#define NEO_0 DE_0
+#define NEO_MINS DE_SS
+
+#define NEO_ACUT DE_PLUS
+#define NEO_GRV DE_ACUT
+#define NEO_CIRC DE_CIRC
+
+#define NEO_L1_L KC_CAPS
+#define NEO_L1_R DE_HASH
+
+#define NEO_L2_L DE_LESS
+#define NEO_L2_R KC_ALGR
+
+#endif