blob: 8a14eb40d189478dde93ba2e3814b3ec31fa400d (
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
|
#!/bin/sh
schreiben () {
printf " keycode %3s = %-22s%-22s%-22s%-22s\n" $1 $2 $3 $4 $5
printf " shiftl keycode %3s = %-22s\n" $1 $6
printf " shift shiftl keycode %3s = %-22s\n" $1 $7
printf " altgr shiftl keycode %3s = %-22s\n" $1 $8
}
lesen() {
# Aufruf: lesen <Anzahl> <Zeilennummer in der Kurzreferenz> <Keycode der ersten Taste>
typeset -i zeile keycode
zeile=$2
keycode=$3
for i in $(seq 1 $1)
do
a=`head -$zeile kurzreferenz | tail -1`
schreiben $keycode $a
zeile=zeile+1
keycode=keycode+1
done
}
cat console.sondertasten
echo "! ----unknown keys----------------------------------------------------------"
lesen 1 64 57
echo
echo
echo "! --------------------------------------------------------------------------"
echo "! Row 1 (number row)"
echo "! --------------------------------------------------------------------------"
lesen 1 1 41
lesen 12 2 2
echo
echo "! --------------------------------------------------------------------------"
echo "! Row 2 (upper row)"
echo "! --------------------------------------------------------------------------"
lesen 12 14 16
echo
echo "! --------------------------------------------------------------------------"
echo "! Row 3 (home row, middle row)"
echo "! --------------------------------------------------------------------------"
lesen 11 26 30
echo
echo "! --------------------------------------------------------------------------"
echo "! Row 4 (lower row)"
echo "! --------------------------------------------------------------------------"
lesen 10 37 44
echo
echo "! --------------------------------------------------------------------------"
echo "! Keypad Row 1 (uppest row)"
echo "! --------------------------------------------------------------------------"
lesen 1 47 69
lesen 1 48 98
lesen 1 49 55
lesen 1 50 74
echo
echo "! --------------------------------------------------------------------------"
echo "! Keypad Row 2 (upper row)"
echo "! --------------------------------------------------------------------------"
lesen 3 51 71
lesen 1 54 78
echo
echo "! --------------------------------------------------------------------------"
echo "! Keypad Row 3 (home row, middle row)"
echo "! --------------------------------------------------------------------------"
lesen 3 55 75
echo
echo "! --------------------------------------------------------------------------"
echo "! Keypad Row 4 (lower row)"
echo "! --------------------------------------------------------------------------"
lesen 3 58 79
echo
echo "! --------------------------------------------------------------------------"
echo "! Keypad Row 5 (lowest row)"
echo "! --------------------------------------------------------------------------"
lesen 2 62 82
echo
echo
echo "! --------------------------------------------------------------------------"
echo "! Strings and Compose"
echo "! --------------------------------------------------------------------------"
echo "string F100 = \"setleds +num\n\""
#cat console.string_compose
|