1 /* Copyright 2015-2016 Matthias Schmidtt
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/>.
17 #ifndef KEYMAP_ITALIAN
18 #define KEYMAP_ITALIAN
62 #define IT_COMM KC_COMM
64 #define IT_EACC KC_LBRC // è, é, [, {
65 #define IT_PLUS KC_RBRC // +, *, ], }
66 #define IT_OACC KC_SCLN // ò, ç, @,
67 #define IT_AACC KC_QUOT // à, °, #,
68 #define IT_UACC KC_BSLS // ù, §, ,
69 #define IT_IACC KC_EQL // ì, ^, ,
71 #define IT_APOS KC_MINS // ', ?, ,
75 #define IT_BKSL KC_GRAVE // backslash \, |
78 #define IT_ACUT // accent acute ´ and grave `
80 #define IT_LESS KC_NUBS // < and > and |
81 #define IT_MINS KC_SLSH // - and _
84 #define IT_PIPE LSFT(IT_BKSL) // °
85 #define IT_EXLM LSFT(KC_1) // !
86 #define IT_DQOT LSFT(KC_2) // "
87 #define IT_STRL LSFT(KC_3) // £
88 #define IT_DLR LSFT(KC_4) // $
89 #define IT_PERC LSFT(KC_5) // %
90 #define IT_AMPR LSFT(KC_6) // &
91 #define IT_SLSH LSFT(KC_7) // /
92 #define IT_LPRN LSFT(KC_8) // (
93 #define IT_RPRN LSFT(KC_9) // )
94 #define IT_EQL LSFT(KC_0) // =
95 #define IT_QST LSFT(IT_APOS) // ?
96 #define IT_CRC LSFT(IT_IACC) // ^
97 #define IT_ASTR LSFT(IT_PLUS) // *
98 #define IT_MORE LSFT(IT_LESS) // >
99 #define IT_COLN LSFT(IT_DOT) // :
100 #define IT_SCLN LSFT(IT_COMM) // ;
101 #define IT_UNDS LSFT(IT_MINS) // _
103 // Alt Gr-ed characters
104 #define IT_LCBR ALGR(KC_7) // {
105 #define IT_LBRC ALGR(IT_EACC) // [
106 #define IT_RBRC ALGR(IT_PLUS) // ]
107 #define IT_RCBR ALGR(KC_0) // }
108 #define IT_AT ALGR(IT_OACC) // @
109 #define IT_EURO ALGR(KC_E) // €
110 #define IT_PIPE LSFT(IT_BKSL) // |
111 #define IT_SHRP ALGR(IT_AACC) // #
113 #define IT_X_PLUS X_RBRACKET // #