]> git.donarmstrong.com Git - qmk_firmware.git/blob - quantum/keymap_extras/sendstring_belgian.h
Remove lock LED example in quantum.c (#5636)
[qmk_firmware.git] / quantum / keymap_extras / sendstring_belgian.h
1 /* Copyright 2019 kimat
2  *
3  * This program is free software: you can redistribute it and/or modify
4  * it under the terms of the GNU General Public License as published by
5  * the Free Software Foundation, either version 2 of the License, or
6  * (at your option) any later version.
7  *
8  * This program is distributed in the hope that it will be useful,
9  * but WITHOUT ANY WARRANTY; without even the implied warranty of
10  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
11  * GNU General Public License for more details.
12  *
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/>.
15  */
16 /* Sendstring definitions for the belgian layout */
17 #ifndef SENDSTRING_BELGIAN
18 #define SENDSTRING_BELGIAN
19
20 #include "keymap_belgian.h"
21
22 const bool ascii_to_shift_lut[0x80] PROGMEM = {
23     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,
26     0, 0, 0, 0, 0, 0, 0, 0,
27
28     0, 0, 0, 0, 0, 1, 0, 0,
29     0, 0, 1, 1, 0, 0, 1, 1,
30     1, 1, 1, 1, 1, 1, 1, 1,
31     1, 1, 0, 0, 0, 0, 1, 1,
32     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,
35     1, 1, 1, 0, 0, 0, 0, 1,
36     0, 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,
39     0, 0, 0, 0, 0, 0, 0, 0
40 };
41 const bool ascii_to_altgr_lut[0x80] PROGMEM = {
42     0, 0, 0, 0, 0, 0, 0, 0,
43     0, 0, 0, 0, 0, 0, 0, 0,
44     0, 0, 0, 0, 0, 0, 0, 0,
45     0, 0, 0, 0, 0, 0, 0, 0,
46
47     0, 0, 0, 1, 0, 0, 0, 0,
48     0, 0, 0, 0, 0, 0, 0, 0,
49     0, 0, 0, 0, 0, 0, 0, 0,
50     0, 0, 0, 0, 0, 0, 0, 0,
51     1, 0, 0, 0, 0, 0, 0, 0,
52     0, 0, 0, 0, 0, 0, 0, 0,
53     0, 0, 0, 0, 0, 0, 0, 0,
54     0, 0, 0, 1, 1, 1, 1, 0,
55     1, 0, 0, 0, 0, 0, 0, 0,
56     0, 0, 0, 0, 0, 0, 0, 0,
57     0, 0, 0, 0, 0, 0, 0, 0,
58     0, 0, 0, 1, 1, 1, 1, 0
59 };
60
61 // NOTE that you have to send the dead keys twice: tilda, circ
62 // SEND_STRING(" !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^^``_abcdefghijklmnopqrstuvwxyz{|}~~");
63 const uint8_t ascii_to_keycode_lut[0x80] PROGMEM = {
64     0, 0, 0, 0, 0, 0, 0, 0,
65     KC_BSPC, KC_TAB, KC_ENT, 0, 0, 0, 0, 0,
66     0, 0, 0, 0, 0, 0, 0, 0,
67     0, 0, 0, KC_ESC, 0, 0, 0, 0,
68  /* SPACE  !     "      #        $     %     &      '                 */
69     KC_SPC, BE_EXLM, BE_QUOT, BE_QUOT, BE_DLR,BE_UGRV,BE_AMP, BE_APOS ,
70   /*  (      )     *      +        ,        -        .       /        */
71     BE_LPRN, BE_RPRN, BE_DLR,BE_EQL, BE_COMM, BE_MINS, BE_SCLN, BE_COLN,
72   /*   0     1     2     3     4     5    6     7                     */
73     BE_AGRV, BE_AMP, BE_EACU, BE_QUOT, BE_APOS, BE_LPRN, BE_PARA, BE_EGRV,
74   /*   8     9      :       ;         <        =       >       ?      */
75     BE_EXLM, BE_CCED, BE_COLN, BE_SCLN, BE_LESS,    BE_EQL, BE_LESS, BE_COMM,
76   /*   @     A     B     C     D     E     F     G                    */
77     BE_EACU, BE_A, KC_B, KC_C, KC_D, KC_E, KC_F, KC_G,
78   /*   H     I     J     K     L     M     N     O                    */
79     KC_H, KC_I, KC_J, KC_K, KC_L, BE_M, KC_N, KC_O,
80   /*   P     Q     R     S     T     U     V     W                    */
81     KC_P, BE_Q, KC_R, KC_S, KC_T, KC_U, KC_V, BE_W,
82   /*   X     Y     Z      [         \       ]       ^      _          */
83     KC_X, KC_Y, BE_Z, BE_CIRC, BE_LESS, BE_DLR, BE_PARA, BE_MINS,
84   /*   `       a     b     c     d     e     f     g                  */
85     BE_MU, BE_A, KC_B, KC_C, KC_D, KC_E, KC_F, KC_G,
86   /*   h     i     j     k     l     m     n     o                    */
87     KC_H, KC_I, KC_J, KC_K, KC_L, BE_M, KC_N, KC_O,
88   /*    p    q     r     s     t     u     v     w                    */
89     KC_P, BE_Q, KC_R, KC_S, KC_T, KC_U, KC_V, BE_W,
90   /*    x    y     z      {        |        }        ~    DELETE      */
91     KC_X, KC_Y, BE_Z, BE_CCED, BE_AMP, BE_AGRV, BE_EQL, KC_DEL
92 };
93
94 #endif