]> git.donarmstrong.com Git - qmk_firmware.git/blobdiff - quantum/keymap_extras/keymap_spanish.h
Remove more commented out MCUs
[qmk_firmware.git] / quantum / keymap_extras / keymap_spanish.h
index af76e39fcb6a1bffeb2caf68046ea907a2963b83..1f183327f9e171d58be7160813e5087afca24586 100644 (file)
@@ -1,12 +1,23 @@
+/* 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_SPANISH_H
 #define KEYMAP_SPANISH_H
 
 #include "keymap.h"
 
-// Alt gr
-#define ALGR(kc) kc | 0x1400
-#define NO_ALGR KC_RALT
-
 // Normal characters
 #define ES_OVRR KC_GRV
 #define ES_APOS        KC_MINS
@@ -40,8 +51,8 @@
 #define ES_UMLT        LSFT(ES_GRV)
 
 #define ES_GRTR        LSFT(ES_LESS)
-#define ES_SCLN        LSFT(ES_COMM)
-#define ES_COLN        LSFT(ES_DOT)
+#define ES_SCLN        LSFT(KC_COMM)
+#define ES_COLN        LSFT(KC_DOT)
 #define ES_UNDS        LSFT(ES_MINS)
 
 // Alt Gr-ed characters
@@ -57,6 +68,6 @@
 #define ES_RBRC ALGR(ES_PLUS)
 
 #define ES_LCBR        ALGR(ES_ACUT)
-#define ES_RCRB        ALGR(ES_CCED)
+#define ES_RCBR        ALGR(ES_CCED)
 
 #endif