1 /* Copyright 2016 SĂ©bastien PĂ©rochon
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_OSX_H
17 #define KEYMAP_FRENCH_OSX_H
33 #define FR_RPRN KC_MINS
34 #define FR_MINS KC_EQL
38 #define FR_CIRC KC_LBRC
39 #define FR_DLR KC_RBRC
43 #define FR_UGRV KC_QUOT
44 #define FR_GRV KC_NUHS
46 #define FR_LESS KC_NUBS
49 #define FR_SCLN KC_COMM
50 #define FR_COLN KC_DOT
51 #define FR_EQL KC_SLSH
54 #define FR_HASH LSFT(KC_GRV)
55 #define FR_1 LSFT(KC_1)
56 #define FR_2 LSFT(KC_2)
57 #define FR_3 LSFT(KC_3)
58 #define FR_4 LSFT(KC_4)
59 #define FR_5 LSFT(KC_5)
60 #define FR_6 LSFT(KC_6)
61 #define FR_7 LSFT(KC_7)
62 #define FR_8 LSFT(KC_8)
63 #define FR_9 LSFT(KC_9)
64 #define FR_0 LSFT(KC_0)
65 #define FR_UNDS LSFT(FR_MINS)
67 #define FR_UMLT LSFT(FR_CIRC)
68 #define FR_ASTR LSFT(FR_DLR)
70 #define FR_PERC LSFT(FR_UGRV)
71 #define FR_PND LSFT(FR_GRV)
73 #define FR_GRTR LSFT(FR_LESS)
74 #define FR_QUES LSFT(FR_COMM)
75 #define FR_DOT LSFT(FR_SCLN)
76 #define FR_SLSH LSFT(FR_COLN)
77 #define FR_PLUS LSFT(FR_EQL)
80 #define FR_LCBR LALT(KC_5)
81 #define FR_RCBR LALT(FR_RPRN)
82 #define FR_EURO LALT(KC_E)
83 #define FR_BULT LALT(FR_DLR)
84 #define FR_TILD LALT(KC_N)
86 // Shift+Alt-ed characters
87 #define FR_LBRC LSFT(LALT(KC_5))
88 #define FR_RBRC LSFT(LALT(FR_RPRN))
89 #define FR_PIPE LSFT(LALT(KC_L))
90 #define FR_BSLS LSFT(LALT(FR_COLN))