summaryrefslogtreecommitdiff
path: root/windows/autohotkey/Source/Keys-DeadKeys.ahk
blob: e2bc3389b14f213f139d03b5415339c5955e8adc (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
neo_tot1:
  noCaps = 1
  EbeneAktualisieren()
  if (Ebene = 1) and !CheckDeadUni("c1",0x0302)      ; Zirkumflex, tot

    deadUni(0x02C6, "dead_circumflex", "c1")

  else if (Ebene = 2) and !CheckDeadUni("c2",0x0303) ; Tilde, tot

    deadUni(0x02DC, "dead_tilde", "c2")

  else if (Ebene = 3) and !CheckDeadUni("c3",0x030A) ; Ring, tot

    deadUni(0x02DA, "dead_breve", "c3")

  else if (Ebene = 4) and !CheckDeadUni("c4",0x030C) ; Caron, tot

    deadUni(0x02C7, "dead_caron", "c4")

  else if (Ebene = 5) and !CheckDeadUni("c5",0x0306) ; Brevis, tot

    deadUni(0x02D8, "dead_breve", "c5")

  else if (Ebene = 6) and !CheckDeadUni("c6",0x0304) ; Makron, tot

    deadAsc("¯", "dead_macron", "c6")
return

neo_tot2:
  noCaps = 1
  EbeneAktualisieren()
  if (Ebene = 1) and !CheckDeadUni("g1",0x0300)      ; Gravis, tot

    deadAsc("``{space}", "dead_grave", "g1")

  else if (Ebene = 3) and !CheckDeadUni("g3",0x0308) ; Diärese, tot

    deadUni(0x00A8, "dead_diaeresis", "g3")

  else if (Ebene = 4) and !CheckDeadUni("g4",0x030F)      ; Doppelgravis, tot

    deadUni(0x02F5, "dead_doublegrave", "g4")

  else if (Ebene = 5) and !CheckDeadUni("g5",0x0485) ; Spiritus asper, tot

    deadUni(0x1FFE, "U1FFE", "g5")
return

neo_tot3:
  noCaps = 1
  EbeneAktualisieren()
  if (Ebene = 1) and !CheckDeadUni("a1",0x0301)      ; Akut, tot

    deadAsc("{´}{space}", "dead_acute", "a1")

  else if (Ebene = 2) and !CheckDeadUni("a2",0x0327) ; Cedille, tot

    deadAsc("¸", "dead_cedilla", "a2")

  else if (Ebene = 3) and !CheckDeadUni("a3",0x0337) ; Strich, tot

    deadUni(0x002F, "dead_stroke", "a3")

  else if (Ebene = 4) and !CheckDeadUni("a4",0x0338) ; Doppelakut, tot

    deadUni(0x02DD, "dead_doubleacute", "a4")

  else if (Ebene = 5) and !CheckDeadUni("a5",0x0486) ; Spiritus lenis, tot

    deadUni(0x1FBF, "U1FBF", "a5")

  else if (Ebene = 6) and !CheckDeadUni("a6",0x0307) ; Punkt darüber, tot

    deadUni(0x02D9, "dead_abovedot", "a6")
return