1 /* Copyright 2016 Vincent Pochet
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/>.
22 #define ALGR(kc) RALT(kc)
23 #define FR_CH_ALGR KC_RALT
65 #define FR_CH_DOT KC_DOT
66 #define FR_CH_COMM KC_COMM
68 #define FR_CH_QUOT KC_MINS
69 #define FR_CH_AE KC_QUOT
70 #define FR_CH_UE KC_LBRC
71 #define FR_CH_OE KC_SCLN
73 #define FR_CH_CIRC KC_EQL // accent circumflex ^ and grave ` and ~
74 #define FR_CH_LESS KC_NUBS // < and > and backslash
75 #define FR_CH_MINS KC_SLSH // - and _
76 #define FR_CH_DLR KC_BSLS // $, £ and }
77 #define FR_CH_PARA KC_GRV // § and ring °
78 #define FR_CH_DIAE KC_RBRC // accent ¨
81 #define FR_CH_RING LSFT(KC_GRV) // °
82 #define FR_CH_EXLM LSFT(KC_RBRC) // !
83 #define FR_CH_PLUS LSFT(KC_1) // +
84 #define FR_CH_DQOT LSFT(KC_2) // "
85 #define FR_CH_ASTR LSFT(KC_3) // *
86 #define FR_CH_PERC LSFT(KC_5) // %
87 #define FR_CH_AMPR LSFT(KC_6) // &
88 #define FR_CH_SLSH LSFT(KC_7) // /
89 #define FR_CH_LPRN LSFT(KC_8) // (
90 #define FR_CH_RPRN LSFT(KC_9) // )
91 #define FR_CH_EQL LSFT(KC_0) // =
92 #define FR_CH_QST LSFT(FR_CH_QUOT) // ?
93 #define FR_CH_MORE LSFT(FR_CH_LESS) // >
94 #define FR_CH_COLN LSFT(KC_DOT) // :
95 #define FR_CH_SCLN LSFT(KC_COMM) // ;
96 #define FR_CH_UNDS LSFT(FR_CH_MINS) // _
97 #define FR_CH_CCED LSFT(KC_4) // ç
98 #define FR_CH_GRV LSFT(FR_CH_CIRC) // accent grave `
100 // Alt Gr-ed characters
101 #define FR_CH_LCBR ALGR(KC_QUOT) // {
102 #define FR_CH_LBRC ALGR(KC_LBRC) // [
103 #define FR_CH_RBRC ALGR(KC_9) // ]
104 #define FR_CH_RCBR ALGR(KC_0) // }
105 #define FR_CH_BSLS ALGR(FR_CH_LESS) // backslash
106 #define FR_CH_AT ALGR(KC_2) // @
107 #define FR_CH_EURO ALGR(KC_E) // €
108 #define FR_CH_TILD ALGR(FR_CH_CIRC) // ~
109 #define FR_CH_PIPE ALGR(KC_1) // |
110 #define FR_CH_HASH ALGR(KC_3) // #
111 #define FR_CH_ACUT ALGR(FR_CH_QUOT) // accent acute ´