aboutsummaryrefslogtreecommitdiffstats
path: root/res/keyboard/layout/sv/pure
blob: 101cb429d3d962d3ac54fb470eebe3622eb994bf (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
information
  language "Swedish"
  country "Sweden"
  variant "WERTY, pure"
end information

# This variant is intended to increase the
# type speed when writing purely Swedish text.


include "../common/qwerty"
include "../common/base"


function comma/0
  ","
end function
function altcomma/0
  "."
end function

macro mod_letter/2
  <letter \1> : "\1"
  <shift letter \1> : "\2"
  <caps letter \1> : "\2"
  <shift caps letter \1> : "\1"
end macro

mod_letter("å" "Å")
mod_letter("ä" "Ä")
mod_letter("ö" "Ö")

<keycode 41> : <letter §>
<keycode 12> : <letter +>
<keycode 13> : <letter ´>
<keycode 26> : <letter å>
<keycode 27> : <letter ¨>
<keycode 39> : <letter ö>
<keycode 40> : <letter ä>
<keycode 43> : <letter '>
<keycode 86> : <letter <>
<keycode 51> : <letter ,>
<keycode 52> : <letter .>
<keycode 53> : <letter ->


macro key/2
  <letter \1> : "\1"
  <shift letter \1> : "\2"
  <altgr letter \1> : <void>
  <altgr shift letter \1> : <void>
end macro

macro key/3
  <letter \1> : "\1"
  <shift letter \1> : "\2"
  <altgr letter \1> : "\3"
  <altgr shift letter \1> : <void>
end macro

macro key/4
  <letter \1> : "\1"
  <shift letter \1> : "\2"
  <altgr letter \1> : "\3"
  <altgr shift letter \1> : "\4"
end macro


key("§" "½" "¶")
key("1" "!" "‽")
key("2" "\"" "@" "”")
key("3" "#" "¾")
key("4" "¤" "¼")
key("5" "%" "‰")
key("6" "&")
key("7" "/" "{" "÷")
key("8" "(" "[" "»")
key("9" ")" "]" "»")
key("0" "=" "}" "°")
key("+" "?" "\\" "⸮")
<letter ´> : "´"
<shift letter ´> : "`"
<altgr letter ´> : "±"
<altgr shift letter ´> : "¬"

<letter ¨> : "¨"
<shift letter ¨> : "^"
<altgr letter ¨> : "~"

key("'" "*" "’" "×")
key("<" ">" "|" "¦")

<letter ,> : ","
<shift letter ,> : ";"

<letter .> : "."
<shift letter .> : ":"
<altgr letter .> : "»"

<letter -> : "-"
<shift letter -> : "_"
<altgr letter -> : "–"
<altgr shift letter -> : "—"


<letter q> : "©"
<caps letter q> : "©"
<shift letter q> : "®"
<caps shift letter q> : "®"
<altgr letter q> : "℗"
<altgr caps letter q> : "℗"
<altgr shift letter q> : "™"
<altgr caps shift letter q> : "™"

<altgr "e"> : "é"
<altgr "E"> : "É"

<altgr "y"> : "ü"
<altgr "Y"> : "Ü"

<altgr letter u> : "↓"
<altgr shift letter u> : "↑"

<altgr letter i> : "→"
<altgr shift letter i> : "←"

<altgr "p"> : "π"
<altgr "P"> : "Π"


<altgr "a"> : "à"
<altgr "A"> : "À"

<altgr "s"> : "z"
<altgr "S"> : "Z"

<altgr "g"> : "ng"
<altgr "G"> : "gn"

<altgr letter j> : <dead letter ˀ>
<altgr shift letter j> : <dead letter \u031B> # horn

<altgr "k"> : "q"
<altgr "K"> : "Q"


<letter z> : "’"
<caps letter z> : "’"
<shift letter z> : "»"
<caps shift letter z> : "»"
<altgr letter z> : "”"
<altgr shift letter z> : <void>

<altgr "v"> : "w"
<altgr "V"> : "W"

<altgr letter m> : "µ"
<shift altgr letter m> : "Ω"


<hyper ":"> : "ː"
<hyper altgr ":"> : "ˑ"
<hyper altgr "."> : "˘"
<hyper "."> : "."
<hyper "'"> : "ˈ"
<hyper ","> : "ˌ"
<hyper "A"> : "ɑː"
<hyper "a"> : "a"
<hyper "E"> : "eː"
<hyper "e"> : "e"
<hyper "I"> : "iː"
<hyper "i"> : "ɪ"
<hyper "O"> : "uː"
<hyper "o"> : "ʊ"
<hyper "Y"> : "yː"
<hyper "y"> : "ʏ"
<hyper "U"> : "ʉ̟ː"
<hyper "u"> : "ɵ"
<hyper "Å"> : "oː"
<hyper "å"> : "ɔ"
<hyper "Ä"> : "æː"
<hyper "ä"> : "æ"
<hyper "Ä"> : "ɛː"
<hyper "ä"> : "ɛ"
<hyper "Ö"> : "œ̞ː"
<hyper "ö"> : "œ̞"
<hyper "Ö"> : "øː"
<hyper "ö"> : "œ"
<hyper "E"> : <void>
<hyper "e"> : "ə"
<hyper "g"> : "ŋ"
<hyper "n"> : "ŋ"
<hyper "h"> : "ɧ"
<hyper "j"> : "ʝ"
<hyper "c"> : "ɕ"
<hyper "r"> : "ʀ"
<hyper "s"> : "ʃ"
<hyper "S"> : "ʂ"
<hyper "D"> : "ɖ"
<hyper "T"> : "ʈ"
<hyper "N"> : "ɳ"
<hyper "L"> : "ɭ"
<hyper altgr "o"> : "̥"