]> git.donarmstrong.com Git - qmk_firmware.git/blobdiff - quantum/keymap_extras/keymap_french.h
Extended the hint of the programmer to link to the relevant README part instead of...
[qmk_firmware.git] / quantum / keymap_extras / keymap_french.h
index e03a121a2bdc8e9d6913843aa5bc91694de881ec..3308dc5f77e6fd883c1accce9e7861ff2ef7f34a 100644 (file)
@@ -1,10 +1,27 @@
+/* Copyright 2015-2016 Jack Humbert
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program.  If not, see <http://www.gnu.org/licenses/>.
+ */
 #ifndef KEYMAP_FRENCH_H
 #define KEYMAP_FRENCH_H
 
-#include "keymap_common.h"
+#include "keymap.h"
 
 // Alt gr
-#define ALGR(kc) kc | 0x1400
+#ifndef ALGR
+#define ALGR(kc) RALT(kc)
+#endif
 #define NO_ALGR KC_RALT
 
 // Normal characters
@@ -72,7 +89,7 @@
 #define FR_PIPE ALGR(KC_6)
 #define FR_GRV         ALGR(KC_7)
 #define FR_BSLS        ALGR(KC_8)
-#define FR_CIRC        ALGR(KC_9)
+#define FR_CCIRC       ALGR(KC_9)
 #define FR_AT  ALGR(KC_0)
 #define FR_RBRC        ALGR(FR_RPRN)
 #define FR_RCBR ALGR(FR_EQL)
@@ -80,4 +97,4 @@
 #define FR_EURO        ALGR(KC_E)
 #define FR_BULT        ALGR(FR_DLR)
 
-#endif
\ No newline at end of file
+#endif