aboutsummaryrefslogtreecommitdiff
path: root/quantum/keymap_extras/sendstring_german.h
diff options
context:
space:
mode:
Diffstat (limited to 'quantum/keymap_extras/sendstring_german.h')
-rw-r--r--quantum/keymap_extras/sendstring_german.h104
1 files changed, 60 insertions, 44 deletions
diff --git a/quantum/keymap_extras/sendstring_german.h b/quantum/keymap_extras/sendstring_german.h
index f20fab77d..61d224824 100644
--- a/quantum/keymap_extras/sendstring_german.h
+++ b/quantum/keymap_extras/sendstring_german.h
@@ -13,69 +13,85 @@
13 * You should have received a copy of the GNU General Public License 13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>. 14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */ 15 */
16/* Sendstring definitions for the German layout */ 16
17#ifndef SENDSTRING_GERMAN 17// Sendstring lookup tables for German layouts
18#define SENDSTRING_GERMAN 18
19#pragma once
19 20
20#include "keymap_german.h" 21#include "keymap_german.h"
21 22
22const bool ascii_to_shift_lut[0x80] PROGMEM = { 23const bool ascii_to_shift_lut[128] PROGMEM = {
23 0, 0, 0, 0, 0, 0, 0, 0, 24 0, 0, 0, 0, 0, 0, 0, 0,
24 0, 0, 0, 0, 0, 0, 0, 0, 25 0, 0, 0, 0, 0, 0, 0, 0,
25 0, 0, 0, 0, 0, 0, 0, 0, 26 0, 0, 0, 0, 0, 0, 0, 0,
26 0, 0, 0, 0, 0, 0, 0, 0, 27 0, 0, 0, 0, 0, 0, 0, 0,
27 28
28 0, 1, 1, 0, 1, 1, 1, 1, 29 0, 1, 1, 0, 1, 1, 1, 1,
29 1, 1, 1, 0, 0, 0, 0, 1, 30 1, 1, 1, 0, 0, 0, 0, 1,
30 0, 0, 0, 0, 0, 0, 0, 0, 31 0, 0, 0, 0, 0, 0, 0, 0,
31 0, 0, 1, 1, 0, 1, 1, 1, 32 0, 0, 1, 1, 0, 1, 1, 1,
32 1, 1, 1, 1, 1, 1, 1, 1, 33 0, 1, 1, 1, 1, 1, 1, 1,
33 1, 1, 1, 1, 1, 1, 1, 1, 34 1, 1, 1, 1, 1, 1, 1, 1,
34 1, 1, 1, 1, 1, 1, 1, 1, 35 1, 1, 1, 1, 1, 1, 1, 1,
35 1, 1, 1, 0, 0, 0, 0, 1, 36 1, 1, 1, 0, 0, 0, 0, 1,
36 1, 0, 0, 0, 0, 0, 0, 0, 37 1, 0, 0, 0, 0, 0, 0, 0,
37 0, 0, 0, 0, 0, 0, 0, 0, 38 0, 0, 0, 0, 0, 0, 0, 0,
38 0, 0, 0, 0, 0, 0, 0, 0, 39 0, 0, 0, 0, 0, 0, 0, 0,
39 0, 0, 0, 1, 1, 1, 1, 0 40 0, 0, 0, 0, 0, 0, 0, 0
40}; 41};
41 42
42/* Until an ALT table/functionality is added, the following symbols will not work: 43const bool ascii_to_altgr_lut[128] PROGMEM = {
43* § @ [ ] { } \ ~ äA öÖ ß ´ 44 0, 0, 0, 0, 0, 0, 0, 0,
44* Following characters can be printed using other characters like so: 45 0, 0, 0, 0, 0, 0, 0, 0,
45* [ in makro will be ü 46 0, 0, 0, 0, 0, 0, 0, 0,
46* { in makro will be Ü 47 0, 0, 0, 0, 0, 0, 0, 0,
47* ~ in makro will be °
48*/
49const uint8_t ascii_to_keycode_lut[0x80] PROGMEM = {
50 0, 0, 0, 0, 0, 0, 0, 0,
51 KC_BSPC, KC_TAB, KC_ENT, 0, 0, 0, 0, 0,
52 0, 0, 0, 0, 0, 0, 0, 0,
53 0, 0, 0, KC_ESC, 0, 0, 0, 0,
54 48
55 /* SPACE ! " # $ % & ' */ 49 0, 0, 0, 0, 0, 0, 0, 0,
56 KC_SPC, KC_1, KC_2, DE_HASH, KC_4, KC_5, KC_6, DE_HASH, 50 0, 0, 0, 0, 0, 0, 0, 0,
57 /* ( ) * + , - . / */ 51 0, 0, 0, 0, 0, 0, 0, 0,
58 KC_8, KC_9, DE_PLUS, DE_PLUS, KC_COMM, DE_MINS, KC_DOT, KC_7, 52 0, 0, 0, 0, 0, 0, 0, 0,
59 /* 0 1 2 3 4 5 6 7 */ 53 1, 0, 0, 0, 0, 0, 0, 0,
60 KC_0, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, 54 0, 0, 0, 0, 0, 0, 0, 0,
61 /* 8 9 : ; < = > ? */ 55 0, 0, 0, 0, 0, 0, 0, 0,
62 KC_8, KC_9, KC_DOT, KC_COMM, DE_LESS, KC_0, DE_LESS, KC_MINS, 56 0, 0, 0, 1, 1, 1, 0, 0,
63 /* @ A B C D E F G */ 57 0, 0, 0, 0, 0, 0, 0, 0,
64 KC_2, KC_A, KC_B, KC_C, KC_D, KC_E, KC_F, KC_G, 58 0, 0, 0, 0, 0, 0, 0, 0,
65 /* H I J K L M N O */ 59 0, 0, 0, 0, 0, 0, 0, 0,
66 KC_H, KC_I, KC_J, KC_K, KC_L, KC_M, KC_N, KC_O, 60 0, 0, 0, 1, 1, 1, 1, 0
67 /* P Q R S T U V W */
68 KC_P, KC_Q, KC_R, KC_S, KC_T, KC_U, KC_V, KC_W,
69 /* X Y Z [ \ ] ^ _ */
70 KC_X, DE_Y, DE_Z, KC_LBRC, KC_BSLS, KC_RBRC, DE_CIRC, DE_MINS,
71 /* ` a b c d e f g */
72 DE_ACUT, KC_A, KC_B, KC_C, KC_D, KC_E, KC_F, KC_G,
73 /* h i j k l m n o */
74 KC_H, KC_I, KC_J, KC_K, KC_L, KC_M, KC_N, KC_O,
75 /* p q r s t u v w */
76 KC_P, KC_Q, KC_R, KC_S, KC_T, KC_U, KC_V, KC_W,
77 /* x y z { | } ~ DELETE */
78 KC_X, DE_Y, DE_Z, KC_LBRC, KC_BSLS, KC_RBRC, KC_GRV, KC_DEL
79}; 61};
80 62
81#endif 63const uint8_t ascii_to_keycode_lut[128] PROGMEM = {
64 // NUL SOH STX ETX EOT ENQ ACK BEL
65 XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX,
66 // BS TAB LF VT FF CR SO SI
67 KC_BSPC, KC_TAB, KC_ENT, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX,
68 // DLE DC1 DC2 DC3 DC4 NAK SYN ETB
69 XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX,
70 // CAN EM SUB ESC FS GS RS US
71 XXXXXXX, XXXXXXX, XXXXXXX, KC_ESC, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX,
72
73 // ! " # $ % & '
74 KC_SPC, DE_1, DE_2, DE_HASH, DE_4, DE_5, DE_6, DE_HASH,
75 // ( ) * + , - . /
76 DE_8, DE_9, DE_PLUS, DE_PLUS, DE_COMM, DE_MINS, DE_DOT, DE_7,
77 // 0 1 2 3 4 5 6 7
78 DE_0, DE_1, DE_2, DE_3, DE_4, DE_5, DE_6, DE_7,
79 // 8 9 : ; < = > ?
80 DE_8, DE_9, DE_DOT, DE_COMM, DE_LESS, DE_0, DE_LESS, DE_SS,
81 // @ A B C D E F G
82 DE_Q, DE_A, DE_B, DE_C, DE_D, DE_E, DE_F, DE_G,
83 // H I J K L M N O
84 DE_H, DE_I, DE_J, DE_K, DE_L, DE_M, DE_N, DE_O,
85 // P Q R S T U V W
86 DE_P, DE_Q, DE_R, DE_S, DE_T, DE_U, DE_V, DE_W,
87 // X Y Z [ \ ] ^ _
88 DE_X, DE_Y, DE_Z, DE_8, DE_SS, DE_9, DE_CIRC, DE_MINS,
89 // ` a b c d e f g
90 DE_ACUT, DE_A, DE_B, DE_C, DE_D, DE_E, DE_F, DE_G,
91 // h i j k l m n o
92 DE_H, DE_I, DE_J, DE_K, DE_L, DE_M, DE_N, DE_O,
93 // p q r s t u v w
94 DE_P, DE_Q, DE_R, DE_S, DE_T, DE_U, DE_V, DE_W,
95 // x y z { | } ~ DEL
96 DE_X, DE_Y, DE_Z, DE_7, DE_LESS, DE_0, DE_PLUS, KC_DEL
97};