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
23 #define ALGR(kc) RALT(kc)
24 #define IT_ALGR KC_RALT
69 #define IT_COMM KC_COMM
71 #define IT_EACC KC_LBRC // è, é, [, {
72 #define IT_PLUS KC_RBRC // +, *, ], }
73 #define IT_OACC KC_SCLN // ò, ç, @,
74 #define IT_AACC KC_QUOT // à, °, #,
75 #define IT_UACC KC_BSLS // ù, §, ,
76 #define IT_IACC KC_EQL // ì, ^, ,
78 #define IT_APOS KC_MINS // ', ?, ,
82 #define IT_BKSL KC_GRAVE // backslash \, |
85 #define IT_ACUT // accent acute ´ and grave `
87 #define IT_LESS KC_NUBS // < and > and |
88 #define IT_MINS KC_SLSH // - and _
91 #define IT_PIPE LSFT(IT_BKSL) // °
92 #define IT_EXLM LSFT(KC_1) // !
93 #define IT_DQOT LSFT(KC_2) // "
94 #define IT_STRL LSFT(KC_3) // £
95 #define IT_DLR LSFT(KC_4) // $
96 #define IT_PERC LSFT(KC_5) // %
97 #define IT_AMPR LSFT(KC_6) // &
98 #define IT_SLSH LSFT(KC_7) // /
99 #define IT_LPRN LSFT(KC_8) // (
100 #define IT_RPRN LSFT(KC_9) // )
101 #define IT_EQL LSFT(KC_0) // =
102 #define IT_QST LSFT(IT_APOS) // ?
103 #define IT_CRC LSFT(IT_IACC) // ^
104 #define IT_ASTR LSFT(IT_PLUS) // *
105 #define IT_MORE LSFT(IT_LESS) // >
106 #define IT_COLN LSFT(IT_DOT) // :
107 #define IT_SCLN LSFT(IT_COMM) // ;
108 #define IT_UNDS LSFT(IT_MINS) // _
110 // Alt Gr-ed characters
111 #define IT_LCBR ALGR(KC_7) // {
112 #define IT_LBRC ALGR(IT_EACC) // [
113 #define IT_RBRC ALGR(IT_PLUS) // ]
114 #define IT_RCBR ALGR(KC_0) // }
115 #define IT_AT ALGR(IT_OACC) // @
116 #define IT_EURO ALGR(KC_E) // €
117 #define IT_PIPE LSFT(IT_BKSL) // |
118 #define IT_SHRP ALGR(IT_AACC) // #
120 #define IT_X_PLUS X_RBRACKET // #