aboutsummaryrefslogtreecommitdiffstats
path: root/res/keyboard/layout/sv_svdvorak
blob: 6ad7b7b16696a6cb6a2f7b73649ef5edb46fb824 (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
information
  language "Swedish"
  country "Sweden"
  variant "Svdvorak"
end information

include "common/dvorak"
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> : <dead letter ´>
<keycode 16> : <letter å>
<keycode 17> : <letter ,>
<keycode 18> : <letter .>
<keycode 26> : <letter '>
<keycode 27> : <dead letter ¨>
<keycode 40> : <letter ->
<keycode 43> : <letter <>
<keycode 86> : <letter ö>
<keycode 44> : <letter ä>


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("+" "?" "\\" "¿")
<shift dead letter ´> : <dead letter `>
<altgr dead letter ´> : "±"
<altgr shift dead letter ´> : "¬"

<shift dead letter ¨> : <dead letter ^>
<altgr dead letter ¨> : <dead letter ~>
<altgr shift dead letter ¨> : <dead letter ˇ>

<letter '> : "'"
<shift letter '> : "*"
<altgr letter '> : "`"
<altgr shift letter '> : <dead letter °>
key("<" ">" "|" "×")


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

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

nocaps("å" "{" "Ω")
key("," ";" "[" "€")
key("." ":" "]" "¢")
nocaps("p" "}" "®")
caps("y" "þ" "Þ")
nocaps("f" "←" "¥")
nocaps("g" "↓" "↑")
nocaps("c" "→" "ı")
caps("l" "œ" "Œ")

caps("a" "æ" "Æ")
nocaps("o" "(" "«")
nocaps("e" ")" "»")
caps("u" "đ" "Ð")
caps("d" "ð" "Ð")
caps("h" "ħ" "Ħ")
caps("t" "ŧ" "Ŧ")
caps("n" "ł" "Ł")
<altgr letter s> : "ß"
<altgr shift letter s> : <void>
<shift letter -> : "_"
caps("-" "ø" "Ø")

nocaps("ö" "|" "¦")
nocaps("ä" "«" "ª")
nocaps("q" "»" "º")
<altgr letter j> : "©"
<altgr shift letter j> : <void>
<altgr letter k> : "ĸ"
<altgr shift letter k> : <void>
nocaps("x" "‘" "“")
nocaps("b" "’" "”")
caps("m" "µ" "º")
<altgr letter w> : <dead letter ¸>
<altgr shift letter w> : <dead letter ˛>
<altgr letter v> : "·"
<altgr shift letter v> : <dead letter ˙>
<altgr letter z> : <dead letter \u0323>
<altgr shift letter z> : <dead letter ¯>