aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicola Gargagli <ngargagli@init.gruppoinit.it>2018-03-09 10:53:54 +0100
committerJack Humbert <jack.humb@gmail.com>2018-03-16 16:20:40 -0400
commit4658786436a9e481c4d7c2a330076cf508085be9 (patch)
tree0cdde873756405efddfac31f9d17a5356f453735
parent6c74d734c274f70ce72150ecbd844f8eff5040c4 (diff)
downloadqmk_firmware-4658786436a9e481c4d7c2a330076cf508085be9.tar.gz
qmk_firmware-4658786436a9e481c4d7c2a330076cf508085be9.zip
Add italian keymap
-rw-r--r--quantum/keymap_extras/keymap_italian.h122
1 files changed, 122 insertions, 0 deletions
diff --git a/quantum/keymap_extras/keymap_italian.h b/quantum/keymap_extras/keymap_italian.h
new file mode 100644
index 000000000..0ff6ce876
--- /dev/null
+++ b/quantum/keymap_extras/keymap_italian.h
@@ -0,0 +1,122 @@
1/* Copyright 2015-2016 Matthias Schmidtt
2 *
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.
7 *
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.
12 *
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/>.
15 */
16
17#ifndef KEYMAP_ITALIAN
18#define KEYMAP_ITALIAN
19
20#include "keymap.h"
21
22// Alt gr
23#define ALGR(kc) RALT(kc)
24#define IT_ALGR KC_RALT
25
26// normal characters
27
28
29
30#define IT_A KC_A
31#define IT_B KC_B
32#define IT_C KC_C
33#define IT_D KC_D
34#define IT_E KC_E
35#define IT_F KC_F
36#define IT_G KC_G
37#define IT_H KC_H
38#define IT_I KC_I
39#define IT_J KC_J
40#define IT_K KC_K
41#define IT_L KC_L
42#define IT_M KC_M
43#define IT_N KC_N
44#define IT_O KC_O
45#define IT_P KC_P
46#define IT_Q KC_Q
47#define IT_R KC_R
48#define IT_S KC_S
49#define IT_T KC_T
50#define IT_U KC_U
51#define IT_V KC_V
52#define IT_W KC_W
53#define IT_X KC_X
54#define IT_Y KC_Y
55#define IT_Z KC_Z
56
57#define IT_0 KC_0
58#define IT_1 KC_1
59#define IT_2 KC_2
60#define IT_3 KC_3
61#define IT_4 KC_4
62#define IT_5 KC_5
63#define IT_6 KC_6
64#define IT_7 KC_7
65#define IT_8 KC_8
66#define IT_9 KC_9
67
68#define IT_DOT KC_DOT
69#define IT_COMM KC_COMM
70
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 // ì, ^, ,
77
78#define IT_APOS KC_MINS // ', ?, ,
79
80
81
82#define IT_BKSL KC_GRAVE // backslash \, |
83
84
85#define IT_ACUT // accent acute ´ and grave `
86
87#define IT_LESS KC_NUBS // < and > and |
88#define IT_MINS KC_SLSH // - and _
89
90// shifted characters
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) // _
109
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) // #
119
120#define IT_X_PLUS X_RBRACKET // #
121
122#endif