aboutsummaryrefslogtreecommitdiffstats
path: root/quantum/keymap_extras/keymap_spanish.h
diff options
context:
space:
mode:
Diffstat (limited to 'quantum/keymap_extras/keymap_spanish.h')
-rw-r--r--quantum/keymap_extras/keymap_spanish.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/quantum/keymap_extras/keymap_spanish.h b/quantum/keymap_extras/keymap_spanish.h
index 7f980afbc..4ba568af2 100644
--- a/quantum/keymap_extras/keymap_spanish.h
+++ b/quantum/keymap_extras/keymap_spanish.h
@@ -1,10 +1,10 @@
#ifndef KEYMAP_SPANISH_H
#define KEYMAP_SPANISH_H
-#include "keymap_common.h"
+#include "keymap.h"
// Alt gr
-#define ALGR(kc) kc | 0x1400
+#define ALGR(kc) RALT(kc)
#define NO_ALGR KC_RALT
// Normal characters
@@ -49,7 +49,7 @@
#define ES_PIPE ALGR(KC_1)
#define ES_AT ALGR(KC_2)
#define ES_HASH ALGR(KC_3)
-#define ES_TILD ALGR(KC_4)
+#define ES_TILD ALGR(ES_NTIL)
#define ES_EURO ALGR(KC_5)
#define ES_NOT ALGR(KC_6)
@@ -59,4 +59,4 @@
#define ES_LCBR ALGR(ES_ACUT)
#define ES_RCRB ALGR(ES_CCED)
-#endif \ No newline at end of file
+#endif