blob: 6de992dac5e43e198c164f187e2ecb21cb8a162a (
plain)
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
|
#!/bin/sh
LC_COLLATE=C
schreiben1 () {
if [[ $2 == [a-z] ]]; then
printf " keycode %3s = %-22s\n" $1 $2
if [[ $4 && $4 != "VoidSymbol" ]]; then
printf " altgr keycode %3s = %-22s\n" $1 $4
fi
if [[ $5 && $5 != "VoidSymbol" ]]; then
printf " shift altgr keycode %3s = %-22s\n" $1 $5
fi
else
printf " keycode %3s = %-22s%-22s%-22s%-22s\n" $1 $2 $3 $4 $5
fi
if [[ $6 && $6 != "VoidSymbol" ]]; then
printf " shiftl keycode %3s = %-22s\n" $1 $6
fi
if [[ $7 && $7 != "VoidSymbol" ]]; then
printf " shift shiftl keycode %3s = %-22s\n" $1 $7
fi
if [[ $8 && $8 != "VoidSymbol" ]]; then
printf " altgr shiftl keycode %3s = %-22s\n" $1 $8
fi
}
schreiben2 () {
printf " keycode %3s = %-22s%-22s%-22s%-22s\n" $1 $2 $3 $4 $5
if [[ $8 && $8 != "VoidSymbol" ]]; then
printf " shiftl keycode %3s = %-22s\n" $1 $8
fi
if [[ $9 && $9 != "VoidSymbol" ]]; then
printf " shift shiftl keycode %3s = %-22s\n" $1 $9
fi
if [[ $6 && $6 != "VoidSymbol" ]]; then
printf " altgr shiftl keycode %3s = %-22s\n" $1 $6
fi
}
lesen() {
# Aufruf: lesen <Anzahl> <Zeilennummer in der Kurzreferenz> <Keycode der ersten Taste> <Tastaturfeld>
typeset -i zeile keycode
zeile=$2
keycode=$3
for i in $(seq 1 $1)
do
a=`head -$zeile kurzreferenz | tail -1`
schreiben$4 $keycode $a
zeile=zeile+1
keycode=keycode+1
done
}
cat console.sondertasten
echo
echo
echo "! ----Space key-------------------------------------------------------------"
lesen 1 2 57 1
echo
echo "! ----dead keys-------------------------------------------------------------"
lesen 1 3 41 1
lesen 1 4 13 1
lesen 1 5 27 1
echo
echo "! --------------------------------------------------------------------------"
echo "! Row 1 (number row)"
echo "! --------------------------------------------------------------------------"
lesen 11 6 2 1
echo
echo "! --------------------------------------------------------------------------"
echo "! Row 2 (upper row)"
echo "! --------------------------------------------------------------------------"
lesen 11 17 16 1
echo
echo "! --------------------------------------------------------------------------"
echo "! Row 3 (home row, middle row)"
echo "! --------------------------------------------------------------------------"
lesen 11 28 30 1
echo
echo "! --------------------------------------------------------------------------"
echo "! Row 4 (lower row)"
echo "! --------------------------------------------------------------------------"
lesen 10 39 44 1
echo
echo "! --------------------------------------------------------------------------"
echo "! Keypad Row 1 (uppest row)"
echo "! --------------------------------------------------------------------------"
lesen 1 49 69 2
lesen 1 50 98 2
lesen 1 51 55 2
lesen 1 52 74 2
echo
echo "! --------------------------------------------------------------------------"
echo "! Keypad Row 2 (upper row)"
echo "! --------------------------------------------------------------------------"
lesen 3 53 71 2
lesen 1 56 78 2
echo
echo "! --------------------------------------------------------------------------"
echo "! Keypad Row 3 (home row, middle row)"
echo "! --------------------------------------------------------------------------"
lesen 3 57 75 2
echo
echo "! --------------------------------------------------------------------------"
echo "! Keypad Row 4 (lower row)"
echo "! --------------------------------------------------------------------------"
lesen 3 60 79 2
echo
echo "! --------------------------------------------------------------------------"
echo "! Keypad Row 5 (lowest row)"
echo "! --------------------------------------------------------------------------"
lesen 2 64 82 2
cat console.more_control
echo
echo
echo "! --------------------------------------------------------------------------"
echo "! Strings and Compose"
echo "! --------------------------------------------------------------------------"
echo "# string F100 = \"setleds +num\n\""
#cat console.string_compose
|