]> git.donarmstrong.com Git - qmk_firmware.git/blob - quantum/keymap_extras/keymap_german_osx.h
Extended the hint of the programmer to link to the relevant README part instead of...
[qmk_firmware.git] / quantum / keymap_extras / keymap_german_osx.h
1 /* Copyright 2016 Stephen Bösebeck
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 #ifndef KEYMAP_GERMAN_OSX
17 #define KEYMAP_GERMAN_OSX
18
19 #include "keymap.h"
20
21 // Alt gr
22
23 // normal characters
24 #define DE_OSX_Z KC_Y
25 #define DE_OSX_Y KC_Z
26
27 #define DE_OSX_A KC_A
28 #define DE_OSX_B KC_B
29 #define DE_OSX_C KC_C
30 #define DE_OSX_D KC_D
31 #define DE_OSX_E KC_E
32 #define DE_OSX_F KC_F
33 #define DE_OSX_G KC_G
34 #define DE_OSX_H KC_H
35 #define DE_OSX_I KC_I
36 #define DE_OSX_J KC_J
37 #define DE_OSX_K KC_K
38 #define DE_OSX_L KC_L
39 #define DE_OSX_M KC_M
40 #define DE_OSX_N KC_N
41 #define DE_OSX_O KC_O
42 #define DE_OSX_P KC_P
43 #define DE_OSX_Q KC_Q
44 #define DE_OSX_R KC_R
45 #define DE_OSX_S KC_S
46 #define DE_OSX_T KC_T
47 #define DE_OSX_U KC_U
48 #define DE_OSX_V KC_V
49 #define DE_OSX_W KC_W
50 #define DE_OSX_X KC_X
51
52 #define DE_OSX_0 KC_0
53 #define DE_OSX_1 KC_1
54 #define DE_OSX_2 KC_2
55 #define DE_OSX_3 KC_3
56 #define DE_OSX_4 KC_4
57 #define DE_OSX_5 KC_5
58 #define DE_OSX_6 KC_6
59 #define DE_OSX_7 KC_7
60 #define DE_OSX_8 KC_8
61 #define DE_OSX_9 KC_9
62
63 #define DE_OSX_DOT KC_DOT
64 #define DE_OSX_COMM KC_COMM
65
66 #define DE_OSX_SS KC_MINS
67 #define DE_OSX_AE KC_QUOT
68 #define DE_OSX_UE KC_LBRC
69 #define DE_OSX_OE KC_SCLN
70
71 #define DE_OSX_CIRC KC_NUBS // accent circumflex ^ and ring °
72 #define DE_OSX_ACUT KC_EQL // accent acute ´ and grave `
73 #define DE_OSX_PLUS KC_RBRC // + and * and ~
74 #define DE_OSX_HASH KC_BSLS // # and '
75 #define DE_OSX_LESS KC_GRV // < and > and |
76 #define DE_OSX_MINS KC_SLSH // - and _
77
78 // shifted characters
79 #define DE_OSX_RING LSFT(DE_OSX_CIRC) // °
80 #define DE_OSX_EXLM LSFT(KC_1) // !
81 #define DE_OSX_DQOT LSFT(KC_2) // "
82 #define DE_OSX_PARA LSFT(KC_3) // §
83 #define DE_OSX_DLR  LSFT(KC_4) // $
84 #define DE_OSX_PERC LSFT(KC_5) // %
85 #define DE_OSX_AMPR LSFT(KC_6) // &
86 #define DE_OSX_SLSH LSFT(KC_7) // /
87 #define DE_OSX_LPRN LSFT(KC_8) // (
88 #define DE_OSX_RPRN LSFT(KC_9) // )
89 #define DE_OSX_EQL  LSFT(KC_0) // =
90 #define DE_OSX_QST  LSFT(DE_OSX_SS) // ?
91 #define DE_OSX_GRV  LSFT(DE_OSX_ACUT) // `
92 #define DE_OSX_ASTR LSFT(DE_OSX_PLUS) // *
93 #define DE_OSX_QUOT LSFT(DE_OSX_HASH) // '
94 #define DE_OSX_MORE LSFT(DE_OSX_LESS) // >
95 #define DE_OSX_COLN LSFT(KC_DOT) // :
96 #define DE_OSX_SCLN LSFT(KC_COMM) // ;
97 #define DE_OSX_UNDS LSFT(DE_OSX_MINS) // _
98
99 // Alt-ed characters
100 //#define DE_OSX_SQ2 LALT(KC_2) // ²
101 //#define DE_OSX_SQ3 LALT(KC_3) // ³
102 #define DE_OSX_LCBR LALT(KC_8) // {
103 #define DE_OSX_LBRC LALT(KC_5) // [
104 #define DE_OSX_RBRC LALT(KC_6) // ]
105 #define DE_OSX_RCBR LALT(KC_9) // }
106 #define DE_OSX_BSLS LALT(LSFT(KC_7)) // backslash
107 #define DE_OSX_AT  LALT(DE_OSX_L) // @
108 #define DE_OSX_EURO LALT(KC_E) // €
109 #define DE_OSX_TILD LALT(DE_OSX_N) // ~
110 #define DE_OSX_PIPE LALT(DE_OSX_7) // |
111
112 #endif