diff options
| author | Konstantin Đorđević <vomindoraan@gmail.com> | 2018-11-06 06:34:54 +0100 |
|---|---|---|
| committer | Jack Humbert <jack.humb@gmail.com> | 2018-11-06 00:34:54 -0500 |
| commit | 4636f0f623c71f1eda8628cbae4784fe08a8faf7 (patch) | |
| tree | 18461a85035f946d6f4fd31b1a6ab161a3903899 /quantum/keymap_extras | |
| parent | 5729380530ca28049a193f84b0199e77ba3e8edd (diff) | |
| download | qmk_firmware-4636f0f623c71f1eda8628cbae4784fe08a8faf7.tar.gz qmk_firmware-4636f0f623c71f1eda8628cbae4784fe08a8faf7.zip | |
Remove ALTG(kc) as it's misleading and is not actually AltGr (#4338)
* Remove ALTG(kc) as it's misleading and is not actually AltGr
* Add temporary alias for ALGR in keyboards/planck/keymaps/pevecyan/keymap.c
Diffstat (limited to 'quantum/keymap_extras')
| -rw-r--r-- | quantum/keymap_extras/keymap_slovenian.h | 30 |
1 files changed, 17 insertions, 13 deletions
diff --git a/quantum/keymap_extras/keymap_slovenian.h b/quantum/keymap_extras/keymap_slovenian.h index a9db17bec..f27123c2a 100644 --- a/quantum/keymap_extras/keymap_slovenian.h +++ b/quantum/keymap_extras/keymap_slovenian.h | |||
| @@ -17,8 +17,12 @@ | |||
| 17 | 17 | ||
| 18 | #ifndef KEYMAP_SLOVENIAN | 18 | #ifndef KEYMAP_SLOVENIAN |
| 19 | #define KEYMAP_SLOVENIAN | 19 | #define KEYMAP_SLOVENIAN |
| 20 | |||
| 20 | #include "keymap.h" | 21 | #include "keymap.h" |
| 21 | 22 | ||
| 23 | // Alt gr | ||
| 24 | #define ALGR(kc) RALT(kc) | ||
| 25 | #define SI_ALGR KC_RALT | ||
| 22 | 26 | ||
| 23 | //Swapped Z and Y | 27 | //Swapped Z and Y |
| 24 | #define SI_Z KC_Y | 28 | #define SI_Z KC_Y |
| @@ -90,18 +94,18 @@ | |||
| 90 | #define SI_UNDS LSFT(SI_MINS) // _ | 94 | #define SI_UNDS LSFT(SI_MINS) // _ |
| 91 | 95 | ||
| 92 | // Alt Gr-ed characters | 96 | // Alt Gr-ed characters |
| 93 | #define SI_CIRC ALTG(KC_3) // ^ | 97 | #define SI_CIRC ALGR(KC_3) // ^ |
| 94 | #define SI_DEG ALTG(KC_5) // ° | 98 | #define SI_DEG ALGR(KC_5) // ° |
| 95 | #define SI_GRV ALTG(KC_7) // ` | 99 | #define SI_GRV ALGR(KC_7) // ` |
| 96 | #define SI_ACCU ALTG(KC_9) // ´ | 100 | #define SI_ACCU ALGR(KC_9) // ´ |
| 97 | #define SI_LCBR ALTG(KC_B) // { | 101 | #define SI_LCBR ALGR(KC_B) // { |
| 98 | #define SI_RCBR ALTG(KC_N) // } | 102 | #define SI_RCBR ALGR(KC_N) // } |
| 99 | #define SI_LBRC ALTG(KC_F) // [ | 103 | #define SI_LBRC ALGR(KC_F) // [ |
| 100 | #define SI_RBRC ALTG(KC_G) // ] | 104 | #define SI_RBRC ALGR(KC_G) // ] |
| 101 | #define SI_BSLS ALTG(KC_Q) // backslash | 105 | #define SI_BSLS ALGR(KC_Q) // backslash |
| 102 | #define SI_AT ALTG(KC_V) // @ | 106 | #define SI_AT ALGR(KC_V) // @ |
| 103 | #define SI_EURO ALTG(KC_E) // € | 107 | #define SI_EURO ALGR(KC_E) // € |
| 104 | #define SI_TILD ALTG(KC_1) // ~ | 108 | #define SI_TILD ALGR(KC_1) // ~ |
| 105 | #define SI_PIPE ALTG(KC_W) // | | 109 | #define SI_PIPE ALGR(KC_W) // | |
| 106 | 110 | ||
| 107 | #endif | 111 | #endif |
