1 /* Copyright 2015-2016 Jack Humbert
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.
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.
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/>.
16 #ifndef KEYMAP_FRENCH_H
17 #define KEYMAP_FRENCH_H
22 #define FR_SUP2 KC_GRV
33 #define FR_RPRN KC_MINS
38 #define FR_CIRC KC_LBRC
39 #define FR_DLR KC_RBRC
43 #define FR_UGRV KC_QUOT
44 #define FR_ASTR KC_NUHS
46 #define FR_LESS KC_NUBS
49 #define FR_SCLN KC_COMM
50 #define FR_COLN KC_DOT
51 #define FR_EXLM KC_SLSH
54 #define FR_1 LSFT(KC_1)
55 #define FR_2 LSFT(KC_2)
56 #define FR_3 LSFT(KC_3)
57 #define FR_4 LSFT(KC_4)
58 #define FR_5 LSFT(KC_5)
59 #define FR_6 LSFT(KC_6)
60 #define FR_7 LSFT(KC_7)
61 #define FR_8 LSFT(KC_8)
62 #define FR_9 LSFT(KC_9)
63 #define FR_0 LSFT(KC_0)
64 #define FR_OVRR LSFT(FR_RPRN)
65 #define FR_PLUS LSFT(FR_EQL)
67 #define FR_UMLT LSFT(FR_CIRC)
68 #define FR_PND LSFT(FR_DLR)
69 #define FR_PERC LSFT(FR_UGRV)
70 #define FR_MU LSFT(FR_ASTR)
72 #define FR_GRTR LSFT(FR_LESS)
73 #define FR_QUES LSFT(FR_COMM)
74 #define FR_DOT LSFT(FR_SCLN)
75 #define FR_SLSH LSFT(FR_COLN)
76 #define FR_SECT LSFT(FR_EXLM)
78 // Alt Gr-ed characters
79 #define FR_TILD ALGR(KC_2)
80 #define FR_HASH ALGR(KC_3)
81 #define FR_LCBR ALGR(KC_4)
82 #define FR_LBRC ALGR(KC_5)
83 #define FR_PIPE ALGR(KC_6)
84 #define FR_GRV ALGR(KC_7)
85 #define FR_BSLS ALGR(KC_8)
86 #define FR_CCIRC ALGR(KC_9)
87 #define FR_AT ALGR(KC_0)
88 #define FR_RBRC ALGR(FR_RPRN)
89 #define FR_RCBR ALGR(FR_EQL)
91 #define FR_EURO ALGR(KC_E)
92 #define FR_BULT ALGR(FR_DLR)