Changeset 806
- Timestamp:
- 08/25/08 17:24:35 (5 years ago)
- Location:
- windows/autohotkey
- Files:
-
- 3 modified
Legend:
- Unmodified
- Added
- Removed
-
windows/autohotkey/Changelog-and-Todo.txt
r804 r806 25 25 26 26 === Änderungshistorie === 27 28 Revision 804 (von Martin Roppelt) 29 - Formatierung vereinfacht und vereinheitlicht. 30 - Compose-Ligaturen implementiert: fl, … 27 31 Revision 789 (von Martin Roppelt) 28 32 - NumLock-Bug ausgebessert (NumLock konnte nach dem Beenden von Neo nicht mehr aktiviert werden). -
windows/autohotkey/neo20.ahk
r790 r806 1 /* 2 ******************************************* 3 WICHTIGE WARNUNG: 4 5 Dies ist inzwischen eine automatisch generierte 6 Datei! Sie wird regelm��ig �berschrieben und 7 sollte deshalb nicht mehr direkt bearbeitet werden! 8 9 Alle weiterf�hrende Informationen finden sich im Abschnitt 10 == Hinweise f�r Entwickler == 11 in der Datei README.txt! 12 ******************************************* 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 ******************************************* 34 Das war die letzte WARNUNG, ich hoffe nur dass 35 Sie wirklich wissen was Sie hier tun wollen ... 36 ******************************************* 37 */ 1 38 /****************** 2 39 * Initialisierung * … … 112 149 regread,inputlocale,HKEY_CURRENT_USER,Keyboard Layout\Preload,1 113 150 regread,inputlocalealias,HKEY_CURRENT_USER,Keyboard Layout\Substitutes,%inputlocale% 114 if inputlocalealias<>inputlocale=%inputlocalealias% 115 if inputlocale<>00000407 116 { 151 if (inputlocalealias<>inputlocale=%inputlocalealias% and inputlocale<>00000407) { 117 152 suspend 118 153 regread,inputlocale,HKEY_LOCAL_MACHINE,SYSTEM\CurrentControlSet\Control\Keyboard Layouts\%inputlocale%,Layout Text … … 163 198 ;Blinde/Sichtbare Tote Tasten 164 199 *F9:: 165 if (isMod4pressed()) 166 DeadSilence := not(DeadSilence) 167 else 168 send {blind}{F9} 200 if isMod4pressed() 201 DeadSilence := !(DeadSilence) 202 else send {blind}{F9} 169 203 return 170 204 171 205 ;Blinde/Sichtbare Compose 172 206 *F10:: 173 if (isMod4pressed()) 174 DeadCompose := not(DeadCompose) 175 else 176 send {blind}{F10} 207 if isMod4pressed() 208 DeadCompose := !(DeadCompose) 209 else send {blind}{F10} 177 210 return 178 211 179 212 ;Lang-s-Tastatur: 180 213 *F11:: 181 if (isMod4pressed()){182 LangSTastatur := not(LangSTastatur)214 if isMod4pressed() { 215 LangSTastatur := !(LangSTastatur) 183 216 if LangSTastatur 184 217 KeyboardLED(2,"on") 185 218 else KeyboardLED(2,"off") 186 } 187 else 188 send {blind}{F11} 219 } else send {blind}{F11} 189 220 return 190 221 … … 192 223 ;bzw. Skript neu laden: 193 224 *Esc:: 194 if (isMod4pressed())225 if isMod4pressed() 195 226 reload 196 else 197 send {blind}{Esc} 227 else send {blind}{Esc} 198 228 return 199 229 … … 202 232 if isShiftpressed() 203 233 goto togglesuspend 204 else= 205 send {blind}{pause} 234 else send {blind}{pause} 206 235 return 207 236 … … 211 240 */ 212 241 togglesuspend: 213 if A_IsSuspended 214 { 242 if A_IsSuspended { 215 243 menu, tray, rename, %enable%, %disable% 216 244 menu, tray, tip, %name% … … 218 246 menu, tray, icon, %ResourceFolder%\neo.ico,,1 219 247 suspend , off ; Schaltet Suspend aus -> NEO 220 } 221 else 222 { 248 } else { 223 249 menu, tray, rename, %disable%, %enable% 224 250 menu, tray, tip, %name% : Deaktiviert … … 226 252 menu, tray, icon, %ResourceFolder%\neo_disabled.ico,,1 227 253 suspend , on ; Schaltet Suspend ein -> QWERTZ 228 } 229 return 254 } return 230 255 231 256 help: 232 Run, %A_WinDir%\hh mk:@MSITStore:autohotkey.chm257 Run, %A_WinDir%\hh mk:@MSITStore:autohotkey.chm 233 258 return 234 259 … … 251 276 252 277 neo: 253 run http://neo-layout.org/278 run http://neo-layout.org/ 254 279 return 255 280 256 281 autohotkey: 257 run http://autohotkey.com/282 run http://autohotkey.com/ 258 283 return 259 284 260 285 open: 261 ListLines ; shows the Autohotkey window286 ListLines ; shows the Autohotkey window 262 287 return 263 288 264 289 edit: 265 edit290 edit 266 291 return 267 292 268 293 reload: 269 Reload294 Reload 270 295 return 271 296 272 297 hide: 273 menu, tray, noicon298 menu, tray, noicon 274 299 return 275 300 276 301 exitprogram: 277 exitapp302 exitapp 278 303 return 279 304 … … 349 374 gespiegelt_punkt = neo_� 350 375 gespiegelt_j = neo_� 351 352 353 376 ; LShift+RShift == CapsLock (simuliert) 354 377 ; Es werden nur die beiden Tastenkombinationen abgefragt, … … 493 516 return ( GetKeyState("<","P") or GetKeyState("SC138","P") or GetKeyState("�","P")) 494 517 } 495 496 497 518 /* 498 519 ------------------------------------------------------ … … 500 521 ------------------------------------------------------ 501 522 */ 523 502 524 ; Reihe 1 503 *VKDCSC029::goto neo_tot1 ; Zirkumflex ^525 *VKDCSC029::goto neo_tot1 ; Zirkumflex 504 526 *VK31SC002::goto neo_1 505 527 *VK32SC003::goto neo_2 … … 509 531 *VK36SC007::goto neo_6 510 532 *VK37SC008:: 511 if( not(einHandNeo) or not(spacepressed) ) 512 goto neo_7 513 else 514 { 515 keypressed := 1 516 goto %gespiegelt_7% 517 } 533 if (!(einHandNeo) or !(spacepressed)) 534 goto neo_7 535 else { 536 keypressed := 1 537 goto %gespiegelt_7% 538 } 518 539 *VK38SC009:: 519 if( not(einHandNeo) or not(spacepressed) ) 520 goto neo_8 521 else 522 { 523 keypressed := 1 524 goto %gespiegelt_8% 525 } 540 if(!(einHandNeo) or !(spacepressed)) 541 goto neo_8 542 else { 543 keypressed := 1 544 goto %gespiegelt_8% 545 } 526 546 *VK39SC00A:: 527 if( not(einHandNeo) or not(spacepressed) ) 528 goto neo_9 529 else 530 { 531 keypressed := 1 532 goto %gespiegelt_9% 533 } 547 if(!(einHandNeo) or !(spacepressed)) 548 goto neo_9 549 else { 550 keypressed := 1 551 goto %gespiegelt_9% 552 } 534 553 *VK30SC00B:: 535 if( not(einHandNeo) or not(spacepressed) ) 536 goto neo_0 537 else 538 { 539 keypressed := 1 540 goto %gespiegelt_0% 541 } 554 if(!(einHandNeo) or !(spacepressed)) 555 goto neo_0 556 else { 557 keypressed := 1 558 goto %gespiegelt_0% 559 } 542 560 *VKDBSC00C:: ; � 543 if ( not(ahkTreiberKombi) ) 544 { 545 if( not(einHandNeo) or not(spacepressed) ) 546 goto neo_strich 547 else 548 { 549 keypressed := 1 550 goto %gespiegelt_strich% 551 } 552 } 553 else 554 { 555 goto neo_sz 556 } 557 *VKDDSC00D::goto neo_tot2 ; Akut 561 if !ahkTreiberKombi { 562 if(!(einHandNeo) or !(spacepressed)) 563 goto neo_strich 564 else { 565 keypressed := 1 566 goto %gespiegelt_strich% 567 } 568 } else goto neo_sz 569 *VKDDSC00D::goto neo_tot2 ; Akut 570 558 571 ; Reihe 2 572 559 573 VK09SC00F::goto neo_tab 560 574 *VK51SC010:: ; q (x) 561 if ( not(ahkTreiberKombi) ) 562 { 563 goto neo_x 575 if !ahkTreiberKombi 576 goto neo_x 577 else goto neo_q 578 *VK57SC011:: ; w (v) 579 if !ahkTreiberKombi 580 goto neo_v 581 else goto neo_w 582 *VK45SC012:: ; e (l) 583 if !ahkTreiberKombi 584 goto neo_l 585 else goto neo_e 586 *VK52SC013:: ; r (c) 587 if !ahkTreiberKombi 588 goto neo_c 589 else goto neo_r 590 *VK54SC014:: ; t (w) 591 if !ahkTreiberKombi 592 goto neo_w 593 else goto neo_t 594 *VK5ASC015:: ; z (k) 595 if !ahkTreiberKombi { 596 if(!(einHandNeo) or !(spacepressed)) 597 goto neo_k 598 else { 599 keypressed := 1 600 goto %gespiegelt_k% 601 } 564 602 } 565 else 566 { 567 goto neo_q 603 else goto neo_z 604 *VK55SC016:: ; u (h) 605 if !ahkTreiberKombi { 606 if(!(einHandNeo) or !(spacepressed)) 607 goto neo_h 608 else { 609 keypressed := 1 610 goto %gespiegelt_h% 611 } 612 } else goto neo_u 613 *VK49SC017:: ; i (g) 614 if !ahkTreiberKombi { 615 if(!(einHandNeo) or !(spacepressed)) 616 goto neo_g 617 else { 618 keypressed := 1 619 goto %gespiegelt_g% 620 } 568 621 } 569 *VK57SC011:: ; w (v) 570 if ( not(ahkTreiberKombi) ) 571 { 572 goto neo_v 622 else goto neo_i 623 *VK4FSC018:: ; o (f) 624 if !ahkTreiberKombi { 625 if(!(einHandNeo) or !(spacepressed)) 626 goto neo_f 627 else { 628 keypressed := 1 629 goto %gespiegelt_f% 630 } 573 631 } 574 else 575 { 576 goto neo_w 632 else goto neo_o 633 *VK50SC019:: ; p (q) 634 if !ahkTreiberKombi { 635 if(!(einHandNeo) or !(spacepressed)) 636 goto neo_q 637 else { 638 keypressed := 1 639 goto %gespiegelt_q% 640 } 577 641 } 578 *VK45SC012:: ; e (l) 579 if ( not(ahkTreiberKombi) ) 580 { 581 goto neo_l 642 else goto neo_p 643 *VKBASC01A:: ; � (�) 644 if !ahkTreiberKombi { 645 if(!(einHandNeo) or !(spacepressed)) 646 goto neo_sz 647 else { 648 keypressed := 1 649 goto %gespiegelt_sz% 650 } 651 } else goto neo_� 652 *VKBBSC01B:: ; + (tot3) 653 if !ahkTreiberKombi { 654 if(!(einHandNeo) or !(spacepressed)) 655 goto neo_tot3 656 else { 657 keypressed := 1 658 goto %gespiegelt_tot3% 659 } 582 660 } 583 else584 {585 goto neo_e586 }587 *VK52SC013:: ; r (c)588 if ( not(ahkTreiberKombi) )589 {590 goto neo_c591 }592 else593 {594 goto neo_r595 }596 *VK54SC014:: ; t (w)597 if ( not(ahkTreiberKombi) )598 {599 goto neo_w600 }601 else602 {603 goto neo_t604 }605 *VK5ASC015:: ; z (k)606 if ( not(ahkTreiberKombi) )607 {608 if( not(einHandNeo) or not(spacepressed) )609 goto neo_k610 else611 {612 keypressed := 1613 goto %gespiegelt_k%614 }615 }616 else617 {618 goto neo_z619 }620 *VK55SC016:: ; u (h)621 if ( not(ahkTreiberKombi) )622 {623 if( not(einHandNeo) or not(spacepressed) )624 goto neo_h625 else626 {627 keypressed := 1628 goto %gespiegelt_h%629 }630 }631 else632 {633 goto neo_u634 }635 *VK49SC017:: ; i (g)636 if ( not(ahkTreiberKombi) )637 {638 if( not(einHandNeo) or not(spacepressed) )639 goto neo_g640 else641 {642 keypressed := 1643 goto %gespiegelt_g%644 }645 }646 else647 {648 goto neo_i649 }650 *VK4FSC018:: ; o (f)651 if ( not(ahkTreiberKombi) )652 {653 if( not(einHandNeo) or not(spacepressed) )654 goto neo_f655 else656 {657 keypressed := 1658 goto %gespiegelt_f%659 }660 }661 else662 {663 goto neo_o664 }665 *VK50SC019:: ; p (q)666 if ( not(ahkTreiberKombi) )667 {668 if( not(einHandNeo) or not(spacepressed) )669 goto neo_q670 else671 {672 keypressed := 1673 goto %gespiegelt_q%674 }675 }676 else677 {678 goto neo_p679 }680 *VKBASC01A:: ; � (�)681 if ( not(ahkTreiberKombi) )682 {683 if( not(einHandNeo) or not(spacepressed) )684 goto neo_sz685 else686 {687 keypressed := 1688 goto %gespiegelt_sz%689 }690 }691 else692 {693 goto neo_�694 }695 *VKBBSC01B:: ; + (tot3)696 if ( not(ahkTreiberKombi) )697 {698 if( not(einHandNeo) or not(spacepressed) )699 goto neo_tot3700 else701 {702 keypressed := 1703 goto %gespiegelt_tot3%704 }705 }706 else707 { } ; this should never happen708 661 709 662 ; Reihe 3 710 663 *VK41SC01E:: ; a (u) 711 if ( not(ahkTreiberKombi) ) 712 { 713 goto neo_u 714 } 715 else 716 { 717 goto neo_a 718 } 664 if !ahkTreiberKombi 665 goto neo_u 666 else goto neo_a 719 667 *VK53SC01F:: ; s (i) 720 if ( not(ahkTreiberKombi) ) 721 { 722 goto neo_i 723 } 724 else 725 { 726 goto neo_s 727 } 668 if !ahkTreiberKombi 669 goto neo_i 670 else goto neo_s 728 671 *VK44SC020:: ; d (a) 729 if ( not(ahkTreiberKombi) ) 730 { 731 goto neo_a 732 } 733 else 734 { 735 goto neo_d 736 } 672 if !ahkTreiberKombi 673 goto neo_a 674 else goto neo_d 737 675 *VK46SC021:: ; f (e) 738 if ( not(ahkTreiberKombi) ) 739 { 740 goto neo_e 741 } 742 else 743 { 744 goto neo_f 745 } 676 if !ahkTreiberKombi 677 goto neo_e 678 else goto neo_f 746 679 *VK47SC022:: ; g (o) 747 if ( not(ahkTreiberKombi) ) 748 { 749 goto neo_o 750 } 751 else 752 { 753 goto neo_g 754 } 680 if !ahkTreiberKombi 681 goto neo_o 682 else goto neo_g 755 683 *VK48SC023:: ; h (s) 756 if ( not(ahkTreiberKombi) ) 757 { 758 if( not(einHandNeo) or not(spacepressed) ) 759 goto neo_s 760 else 761 { 762 keypressed := 1 763 goto %gespiegelt_s% 764 } 765 } 766 else 767 { 768 goto neo_h 769 } 684 if !ahkTreiberKombi { 685 if(!(einHandNeo) or !(spacepressed)) 686 goto neo_s 687 else { 688 keypressed := 1 689 goto %gespiegelt_s% 690 } 691 } else goto neo_h 770 692 *VK4ASC024:: ; j (n) 771 if ( not(ahkTreiberKombi) ) 772 { 773 if( not(einHandNeo) or not(spacepressed) ) 774 goto neo_n 775 else 776 { 777 keypressed := 1 778 goto %gespiegelt_n% 779 } 780 } 781 else 782 { 783 goto neo_j 784 } 693 if !ahkTreiberKombi { 694 if(!(einHandNeo) or !(spacepressed)) 695 goto neo_n 696 else { 697 keypressed := 1 698 goto %gespiegelt_n% 699 } 700 } else goto neo_j 785 701 *VK4BSC025:: ; k (r) 786 if ( not(ahkTreiberKombi) ) 787 { 788 if( not(einHandNeo) or not(spacepressed) ) 789 goto neo_r 790 else 791 { 792 keypressed := 1 793 goto %gespiegelt_r% 794 } 795 } 796 else 797 { 798 goto neo_k 799 } 702 if !ahkTreiberKombi { 703 if(!(einHandNeo) or !(spacepressed)) 704 goto neo_r 705 else { 706 keypressed := 1 707 goto %gespiegelt_r% 708 } 709 } else goto neo_k 800 710 *VK4CSC026:: ; l (t) 801 if ( not(ahkTreiberKombi) ) 802 { 803 if( not(einHandNeo) or not(spacepressed) ) 804 goto neo_t 805 else 806 { 807 keypressed := 1 808 goto %gespiegelt_t% 809 } 810 } 811 else 812 { 813 goto neo_l 814 } 711 if !ahkTreiberKombi { 712 if(!(einHandNeo) or !(spacepressed)) 713 goto neo_t 714 else { 715 keypressed := 1 716 goto %gespiegelt_t% 717 } 718 } else goto neo_l 815 719 *VKC0SC027:: ; � (d) 816 if ( not(ahkTreiberKombi) ) 817 { 818 if( not(einHandNeo) or not(spacepressed) ) 819 goto neo_d 820 else 821 { 822 keypressed := 1 823 goto %gespiegelt_d% 824 } 825 } 826 else 827 { 828 goto neo_� 829 } 720 if !ahkTreiberKombi { 721 if(!(einHandNeo) or !(spacepressed)) 722 goto neo_d 723 else { 724 keypressed := 1 725 goto %gespiegelt_d% 726 } 727 } else goto neo_� 830 728 *VKDESC028:: ; � (y) 831 if ( not(ahkTreiberKombi) ) 832 { 833 goto neo_y 834 } 835 else 836 { 837 goto neo_� 838 } 729 if !ahkTreiberKombi 730 goto neo_y 731 else goto neo_� 839 732 840 733 ; Reihe 4 841 734 *VK59SC02C:: ; y (�) 842 if ( not(ahkTreiberKombi) ) 843 { 844 goto neo_� 845 } 846 else 847 { 848 goto neo_y 849 } 735 if !ahkTreiberKombi 736 goto neo_� 737 else goto neo_y 850 738 *VK58SC02D:: ; x (�) 851 if ( not(ahkTreiberKombi) ) 852 { 853 goto neo_� 854 } 855 else 856 { 857 goto neo_x 858 } 739 if !ahkTreiberKombi 740 goto neo_� 741 else goto neo_x 859 742 *VK43SC02E:: ; c (�) 860 if ( not(ahkTreiberKombi) ) 861 { 862 goto neo_� 863 } 864 else 865 { 866 goto neo_c 867 } 743 if !ahkTreiberKombi 744 goto neo_� 745 else goto neo_c 868 746 *VK56SC02F:: ; v (p) 869 if ( not(ahkTreiberKombi) ) 870 { 871 goto neo_p 872 } 873 else 874 { 875 goto neo_v 876 } 747 if !ahkTreiberKombi 748 goto neo_p 749 else goto neo_v 877 750 *VK42SC030:: ; b (z) 878 if ( not(ahkTreiberKombi) ) 879 { 880 goto neo_z 881 } 882 else 883 { 884 goto neo_b 885 } 751 if !ahkTreiberKombi 752 goto neo_z 753 else goto neo_b 886 754 *VK4ESC031:: ; n (b) 887 if ( not(ahkTreiberKombi) ) 888 { 889 if( not(einHandNeo) or not(spacepressed) ) 890 goto neo_b 891 else 892 { 893 keypressed := 1 894 goto %gespiegelt_b% 895 } 896 } 897 else 898 { 899 goto neo_n 900 } 755 if !ahkTreiberKombi { 756 if(!(einHandNeo) or !(spacepressed)) 757 goto neo_b 758 else { 759 keypressed := 1 760 goto %gespiegelt_b% 761 } 762 } else goto neo_n 901 763 *VK4DSC032:: ; m (m) 902 if( not(einHandNeo) or not(spacepressed))764 if(!(einHandNeo) or !(spacepressed)) 903 765 goto neo_m 904 else 905 { 906 keypressed := 1 907 goto %gespiegelt_m% 766 else { 767 keypressed := 1 768 goto %gespiegelt_m% 908 769 } 909 770 *VKBCSC033:: ; , (,) 910 if( not(einHandNeo) or not(spacepressed))771 if(!(einHandNeo) or !(spacepressed)) 911 772 goto neo_komma 912 else 913 { 914 keypressed := 1 915 goto %gespiegelt_komma% 916 } 773 else { 774 keypressed := 1 775 goto %gespiegelt_komma% 776 } 917 777 *VKBESC034:: ; . (.) 918 if( not(einHandNeo) or not(spacepressed))778 if(!(einHandNeo) or !(spacepressed)) 919 779 goto neo_punkt 920 else 921 { 922 keypressed := 1 923 goto %gespiegelt_punkt% 924 } 780 else { 781 keypressed := 1 782 goto %gespiegelt_punkt% 783 } 925 784 *VKBDSC035:: ; - (j) 926 if ( not(ahkTreiberKombi) ) 927 { 928 if( not(einHandNeo) or not(spacepressed) ) 785 if !ahkTreiberKombi { 786 if(!(einHandNeo) or !(spacepressed)) 929 787 goto neo_j 930 else 931 { 932 keypressed := 1 933 goto %gespiegelt_j% 934 } 935 } 936 else 937 { 938 goto neo_strich 939 } 788 else { 789 keypressed := 1 790 goto %gespiegelt_j% 791 } 792 } else goto neo_strich 940 793 941 794 ; Numpad … … 946 799 *VK6BSC04E::goto neo_NumpadAdd 947 800 *VK0DSC11C::goto neo_NumpadEnter 948 949 *VK67SC047:: ; NumPad7 (mit NumLock und ohne Shift) 950 *VK24SC047::goto neo_Numpad7 ; NumPadHome (ohne Numlock oder mit Shift) 951 952 *VK68SC048:: ; NumPad8 (mit NumLock und ohne Shift) 953 *VK26SC048::goto neo_Numpad8 ; NumPadUp (ohne Numlock oder mit Shift) 954 955 *VK69SC049:: ; NumPad9 (mit NumLock und ohne Shift) 956 *VK21SC049::goto neo_Numpad9 ; NumPadPgUp (ohne Numlock oder mit Shift) 957 958 *VK64SC04B:: ; NumPad4 (mit NumLock und ohne Shift) 959 *VK25SC04B::goto neo_Numpad4 ; NumPadLeft (ohne Numlock oder mit Shift) 960 961 *VK65SC04C:: ; NumPad5 (mit NumLock und ohne Shift) 962 *VK0CSC04C::goto neo_Numpad5 ; NumPadClear(ohne Numlock oder mit Shift) 963 964 *VK66SC04D:: ; NumPad6 (mit NumLock und ohne Shift) 965 *VK27SC04D::goto neo_Numpad6 ; NumPadRight(ohne Numlock oder mit Shift) 966 967 *VK61SC04F:: ; NumPad1 (mit NumLock und ohne Shift) 968 *VK23SC04F::goto neo_Numpad1 ; NumPadEnd (ohne Numlock oder mit Shift) 969 970 *VK62SC050:: ; NumPad2 (mit NumLock und ohne Shift) 971 *VK28SC050::goto neo_Numpad2 ; NumPadDown (ohne Numlock oder mit Shift) 972 973 *VK63SC051:: ; NumPad3 (mit NumLock und ohne Shift) 974 *VK22SC051::goto neo_Numpad3 ; NumPadPgDn (ohne Numlock oder mit Shift) 975 976 *VK60SC052:: ; NumPad0 (mit NumLock und ohne Shift) 977 *VK2DSC052::goto neo_Numpad0 ; NumPadIns (ohne Numlock oder mit Shift) 978 979 *VK6ESC053:: ; NumPadDot (mit NumLock und ohne Shift) 980 *VK2ESC053::goto neo_NumpadDot ; NumPadIns (ohne Numlock oder mit Shift) 801 *VK67SC047:: ; NumPad7 802 *VK24SC047::goto neo_Numpad7 ; NumPadHome 803 *VK68SC048:: ; NumPad8 804 *VK26SC048::goto neo_Numpad8 ; NumPadUp 805 *VK69SC049:: ; NumPad9 806 *VK21SC049::goto neo_Numpad9 ; NumPadPgUp 807 *VK64SC04B:: ; NumPad4 808 *VK25SC04B::goto neo_Numpad4 ; NumPadLeft 809 *VK65SC04C:: ; NumPad5 810 *VK0CSC04C::goto neo_Numpad5 ; NumPadClear 811 *VK66SC04D:: ; NumPad6 812 *VK27SC04D::goto neo_Numpad6 ; NumPadRight 813 *VK61SC04F:: ; NumPad1 814 *VK23SC04F::goto neo_Numpad1 ; NumPadEnd 815 *VK62SC050:: ; NumPad2 816 *VK28SC050::goto neo_Numpad2 ; NumPadDown 817 *VK63SC051:: ; NumPad3 818 *VK22SC051::goto neo_Numpad3 ; NumPadPgDn 819 *VK60SC052:: ; NumPad0 820 *VK2DSC052::goto neo_Numpad0 ; NumPadIns 821 *VK6ESC053:: ; NumPadDot 822 *VK2ESC053::goto neo_NumpadDot ; NumPadIns 981 823 /* 982 Die eigentliche NEO-Belegung und der Hauptteil des AHK-Treibers. 983 984 Ablauf bei toten Tasten: 985 1. Ebene Aktualisieren. 986 2. Abh�ngig von der Variablen "Ebene" Zeichen ausgeben und die Variable "PriorDeadKey" setzen. 987 988 Ablauf bei "untoten" Tasten: 989 1. Ebene Aktualisieren. 990 2. Abh�ngig von den Variablen "Ebene" und "PriorDeadKey" Zeichen ausgeben. 991 3. "PriorDeadKey" mit leerem String �berschreiben. 824 Die eigentliche NEO-Belegung und der Hauptteil des AHK-Treibers. 992 825 993 826 Reihe 1 … … 997 830 noCaps=1 998 831 EbeneAktualisieren() 999 if (Ebene=1){1000 deadUni(0x02C6) ; Zirkumflex, tot1001 DeadKey=c11002 } else if(Ebene = 2){1003 deadUni(0x02C7) ; Caron, tot1004 DeadKey=c21005 } else if(Ebene = 3){832 if (Ebene=1) { 833 deadUni(0x02C6) ; Zirkumflex, tot 834 DeadKey = c1 835 } else if (Ebene = 2) { 836 deadUni(0x02C7) ; Caron, tot 837 DeadKey = c2 838 } else if (Ebene = 3) { 1006 839 deadUni(0x02D8) ; Brevis, tot 1007 DeadKey =c31008 } else if Ebene7840 DeadKey = c3 841 } else if Ebene7 1009 842 SendUnicodeChar(0x0302) ; Verbindungszeichen Zirkumflex 1010 843 else if Ebene8 1011 844 SendUnicodeChar(0x0306) ; Verbindungszeichen Brevis 1012 else if (Ebene = 4){845 else if (Ebene = 4) { 1013 846 deadUni(0x00B7) ; Mittenpunkt, tot 1014 DeadKey =c41015 } else if(Ebene = 5){847 DeadKey = c4 848 } else if (Ebene = 5) { 1016 849 deadUni(0x002D) ; Querstrich, tot 1017 DeadKey =c51018 } else if(Ebene = 6){850 DeadKey = c5 851 } else if (Ebene = 6) { 1019 852 deadUni(0x0323) ; Punkt drunter (Colon), tot 1020 DeadKey =c61021 } CompKey := PriorCompKey853 DeadKey = c6 854 } CompKey := PriorCompKey 1022 855 return 1023 856 … … 1025 858 noCaps=1 1026 859 EbeneAktualisieren() 1027 if Ebene12 {1028 if !(CheckDeadUni("c1",0x00B9) ; Hochgestellte 1860 if Ebene12 { 861 if !(CheckDeadUni("c1",0x00B9) ; Hochgestellte 1 1029 862 or CheckDeadUni("c5",0x2081) ; Tiefgestellte 1 1030 863 or CheckComp3Uni("r_1",0x217A) ; R�misch xi 1031 864 or CheckComp3Uni("R_1",0x216A)) ; R�misch XI 1032 865 outputChar(1,"�") 1033 if !(checkComp(1))1034 if (PriorCompKey == "r")866 if !(checkComp(1)) 867 if (PriorCompKey == "r") 1035 868 CompKey := "r_1" 1036 else if (PriorCompkey == "R")869 else if (PriorCompkey == "R") 1037 870 CompKey := "R_1" 1038 } else if(Ebene = 3)871 } else if (Ebene = 3) 1039 872 SendUnicodeChar(0x00B9) ; Hochgestellte 1 1040 else if (Ebene = 4)873 else if (Ebene = 4) 1041 874 SendUnicodeChar(0x2022) ; Bullet 1042 else if (Ebene = 5)875 else if (Ebene = 5) 1043 876 SendUnicodeChar(0x2640) ; Piktogramm weiblich 1044 else if (Ebene = 6)877 else if (Ebene = 6) 1045 878 SendUnicodeChar(0x00AC) ; Nicht-Symbol 1046 879 return … … 1049 882 noCaps = 1 1050 883 EbeneAktualisieren() 1051 if (Ebene = 1){1052 if !(CheckDeadUni("c1",0x00B2) ; Hochgestellte 2884 if (Ebene = 1) { 885 if !(CheckDeadUni("c1",0x00B2) ; Hochgestellte 2 1053 886 or CheckDeadUni("c5",0x2082) ; Tiefgestellte 2 1054 887 or CheckCompUni("r",0x2171) ; R�misch ii … … 1058 891 outputChar(2,"") 1059 892 checkComp(2) 1060 } else if(Ebene = 2)893 } else if (Ebene = 2) 1061 894 SendUnicodeChar(0x2116) ; Numero 1062 else if (Ebene = 3)895 else if (Ebene = 3) 1063 896 SendUnicodeChar(0x00B2) ; Hochgestellte 2 1064 else if (Ebene = 4)897 else if (Ebene = 4) 1065 898 SendUnicodeChar(0x2023) ; Aufz�hlungspfeil 1066 else if (Ebene = 5)899 else if (Ebene = 5) 1067 900 SendUnicodeChar(0x26A5) ; Piktogramm Zwitter 1068 else if (Ebene = 6)901 else if (Ebene = 6) 1069 902 SendUnicodeChar(0x2228) ; Logisches Oder 1070 903 return … … 1073 906 noCaps = 1 1074 907 EbeneAktualisieren() 1075 if Ebene12 {1076 if !(CheckDeadUni("c1",0x00B3)1077 or CheckDeadUni("c5",0x2083) 908 if Ebene12 { 909 if !(CheckDeadUni("c1",0x00B3) ; Hochgestellte 3 910 or CheckDeadUni("c5",0x2083) ; Tiefgestellte 3 1078 911 or CheckCompUni("1",0x2153) ; 1/3 1079 912 or CheckCompUni("2",0x2154) ; 2/3 … … 1082 915 outputChar(3,"�") 1083 916 checkComp(3) 1084 } else if(Ebene = 3)917 } else if (Ebene = 3) 1085 918 SendUnicodeChar(0x00B3) ; Hochgestellte 3 1086 else if (Ebene = 5)919 else if (Ebene = 5) 1087 920 SendUnicodeChar(0x2642) ; Piktogramm Mann 1088 else if (Ebene = 6)921 else if (Ebene = 6) 1089 922 SendUnicodeChar(0x2227) ; Logisches Und 1090 923 return … … 1093 926 noCaps = 1 1094 927 EbeneAktualisieren() 1095 if (Ebene = 1){1096 if !(CheckDeadUni("c1",0x2074)1097 or CheckDeadUni("c5",0x2084) 928 if (Ebene = 1) { 929 if !(CheckDeadUni("c1",0x2074) ; Hochgestellte 4 930 or CheckDeadUni("c5",0x2084) ; Tiefgestellte 4 1098 931 or CheckCompUni("r",0x2173) ; R�misch iv 1099 932 or CheckCompUni("R",0x2163)) ; R�misch IV 1100 933 outputChar(4,"") 1101 934 checkComp(4) 1102 } else if(Ebene = 2)935 } else if (Ebene = 2) 1103 936 SendUnicodeChar(0x00BB) ; Double guillemot right 1104 else if (Ebene = 3)937 else if (Ebene = 3) 1105 938 Send {blind}� ; Single guillemot right 1106 else if (Ebene = 4)939 else if (Ebene = 4) 1107 940 Send {blind}{PgUp} 1108 else if (Ebene = 5)941 else if (Ebene = 5) 1109 942 SendUnicodeChar(0x2113) ; Script small L 1110 else if (Ebene = 6)943 else if (Ebene = 6) 1111 944 SendUnicodeChar(0x22A5) ; Senkrecht 1112 945 return … … 1115 948 noCaps = 1 1116 949 EbeneAktualisieren() 1117 if (Ebene = 1){1118 if !(CheckDeadUni("c1",0x2075)1119 or CheckDeadUni("c5",0x2085) 950 if (Ebene = 1) { 951 if !(CheckDeadUni("c1",0x2075) ; Hochgestellte 5 952 or CheckDeadUni("c5",0x2085) ; Tiefgestellte 5 1120 953 or CheckCompUni("1",0x2155) ; 1/5 1121 954 or CheckCompUni("2",0x2156) ; 2/5 … … 1126 959 outputChar(5,"") 1127 960 checkComp(5) 1128 } else if(Ebene = 2)961 } else if (Ebene = 2) 1129 962 SendUnicodeChar(0x00AB) ; Double guillemot left 1130 else if (Ebene = 3)963 else if (Ebene = 3) 1131 964 Send {blind}� ; Single guillemot left 1132 else if (Ebene = 5)965 else if (Ebene = 5) 1133 966 SendUnicodeChar(0x2020) ; Kreuz (Dagger) 1134 else if (Ebene = 6)967 else if (Ebene = 6) 1135 968 SendUnicodeChar(0x2221) ; Winkel 1136 969 return … … 1139 972 noCaps = 1 1140 973 EbeneAktualisieren() 1141 if (Ebene = 1){1142 if !(CheckDeadUni("c1",0x2076)1143 or CheckDeadUni("c5",0x2086) 974 if (Ebene = 1) { 975 if !(CheckDeadUni("c1",0x2076) ; Hochgestellte 6 976 or CheckDeadUni("c5",0x2086) ; Tiefgestellte 6 1144 977 or CheckCompUni("1",0x2159) ; 1/6 1145 978 or CheckCompUni("5",0x215A) ; 5/6 … … 1148 981 outputChar(6,"") 1149 982 checkComp(6) 1150 } else if(Ebene = 2)983 } else if (Ebene = 2) 1151 984 SendUnicodeChar(0x20AC) 1152 else if (Ebene = 3)985 else if (Ebene = 3) 1153 986 send {blind}� 1154 else if (Ebene = 4)987 else if (Ebene = 4) 1155 988 send {blind}� 1156 else if (Ebene = 6)989 else if (Ebene = 6) 1157 990 SendUnicodeChar(0x2225) ; parallel 1158 991 return … … 1161 994 noCaps = 1 1162 995 EbeneAktualisieren() 1163 if Ebene12 {1164 if !(CheckDeadUni("c1",0x2077)1165 or CheckDeadUni("c5",0x2087) 996 if Ebene12 { 997 if !(CheckDeadUni("c1",0x2077) ; Hochgestellte 7 998 or CheckDeadUni("c5",0x2087) ; Tiefgestellte 7 1166 999 or CheckCompUni("r",0x2176) ; R�misch vii 1167 1000 or CheckCompUni("R",0x2166)) ; R�misch VII 1168 1001 outputChar(7,"$") 1169 1002 checkComp(7) 1170 } else if(Ebene = 3)1003 } else if (Ebene = 3) 1171 1004 send {blind}� 1172 else if (Ebene = 4)1005 else if (Ebene = 4) 1173 1006 send {blind}� 1174 else if (Ebene = 5)1007 else if (Ebene = 5) 1175 1008 SendUnicodeChar(0x03BA) ; greek small letter kappa 1176 else if (Ebene = 6)1009 else if (Ebene = 6) 1177 1010 SendUnicodeChar(0x2209) ; nicht Element von 1178 1011 return … … 1181 1014 noCaps = 1 1182 1015 EbeneAktualisieren() 1183 if Ebene12 {1184 if !(CheckDeadUni("c1",0x2078)1185 or CheckDeadUni("c5",0x2088) 1016 if Ebene12 { 1017 if !(CheckDeadUni("c1",0x2078) ; Hochgestellte 8 1018 or CheckDeadUni("c5",0x2088) ; Tiefgestellte 8 1186 1019 or CheckCompUni("1",0x215B) ; 1/8 1187 1020 or CheckCompUni("3",0x215C) ; 3/8 … … 1192 1025 outputChar(8,"�") 1193 1026 checkComp(8) 1194 } else if(Ebene = 3)1027 } else if (Ebene = 3) 1195 1028 send {blind}� 1196 else if (Ebene = 4)1029 else if (Ebene = 4) 1197 1030 Send {blind}{NumpadDiv} 1198 else if (Ebene = 5)1031 else if (Ebene = 5) 1199 1032 SendUnicodeChar(0x27E8) ; bra (�ffnende spitze Klammer) 1200 else if (Ebene = 6)1033 else if (Ebene = 6) 1201 1034 SendUnicodeChar(0x2204) ; es existiert nicht 1202 1035 return … … 1205 1038 noCaps = 1 1206 1039 EbeneAktualisieren() 1207 if Ebene12 {1208 if !(CheckDeadUni("c1",0x2079)1209 or CheckDeadUni("c5",0x2089) 1040 if Ebene12 { 1041 if !(CheckDeadUni("c1",0x2079) ; Hochgestellte 9 1042 or CheckDeadUni("c5",0x2089) ; Tiefgestellte 9 1210 1043 or CheckCompUni("r",0x2178) ; R�misch ix 1211 1044 or CheckCompUni("R",0x2168)) ; R�misch IX 1212 1045 outputChar(9,"�") 1213 1046 checkComp(9) 1214 } else if(Ebene = 3)1047 } else if (Ebene = 3) 1215 1048 send {blind}� 1216 else if (Ebene = 4)1049 else if (Ebene = 4) 1217 1050 Send {blind}{NumpadMult} 1218 else if (Ebene = 5)1051 else if (Ebene = 5) 1219 1052 SendUnicodeChar(0x27E9) ; ket (schlie�ende spitze Klammer) 1220 else if (Ebene = 6)1053 else if (Ebene = 6) 1221 1054 SendUnicodeChar(0x2226) ; nicht parallel 1222 1055 return … … 1225 1058 noCaps = 1 1226 1059 EbeneAktualisieren() 1227 if Ebene12{ 1228 if!(CheckDeadUni("c1",0x2070) 1229 or CheckDeadUni("c5",0x2080) ; R�misch x 1060 if Ebene12 { 1061 if !(CheckDeadUni("c1",0x2070) ; Hochgestellte 0 1062 or CheckDeadUni("c5",0x2080) ; Tiefgestellte 0 1063 or CheckDeadUni("r_1",0x2177) ; R�misch x 1230 1064 or CheckComp3Uni("R_1",0x2169)) ; R�misch X 1231 1065 outputChar(0,"�") 1232 1066 checkComp(0) 1233 } else if(Ebene = 3)1067 } else if (Ebene = 3) 1234 1068 send {blind}� 1235 else if (Ebene = 4)1069 else if (Ebene = 4) 1236 1070 Send {blind}{NumpadSub} 1237 else if (Ebene = 6)1071 else if (Ebene = 6) 1238 1072 SendUnicodeChar(0x2205) ; leere Menge 1239 1073 return … … 1242 1076 noCaps = 1 1243 1077 EbeneAktualisieren() 1244 if (Ebene = 1)1078 if (Ebene = 1) 1245 1079 outputChar("-","") ; Bindestrich-Minus 1246 else if (Ebene = 2)1080 else if (Ebene = 2) 1247 1081 SendUnicodeChar(0x2013) ; Gedankenstrich 1248 else if (Ebene = 3)1082 else if (Ebene = 3) 1249 1083 SendUnicodeChar(0x2014) ; Englischer Gedankenstrich (Geviertstrich) 1250 else if (Ebene = 5)1084 else if (Ebene = 5) 1251 1085 SendUnicodeChar(0x2011) ; gesch�tzter Bindestrich (Bindestrich ohne Zeilenumbruch) 1252 else if (Ebene = 6)1086 else if (Ebene = 6) 1253 1087 SendUnicodeChar(0x00AD) ; weicher Bindestrich 1254 1088 return … … 1257 1091 noCaps = 1 1258 1092 EbeneAktualisieren() 1259 if (Ebene = 1){1093 if (Ebene = 1) { 1260 1094 deadAsc("{�}{space}") ; Akut, tot 1261 1095 DeadKey := "a1" 1262 } else if(Ebene = 2){1096 } else if (Ebene = 2) { 1263 1097 deadAsc("``{space}") ; Gravis, tot 1264 1098 DeadKey := "a2" 1265 } else if(Ebene = 3){1099 } else if (Ebene = 3) { 1266 1100 deadAsc("�") ; Cedilla, tot 1267 1101 DeadKey := "a3" 1268 } else if(Ebene = 4){1102 } else if (Ebene = 4) { 1269 1103 deadUni(0x02D9) ; Punkt oben 1270 1104 DeadKey := "a4" 1271 } else if(Ebene = 5){1105 } else if (Ebene = 5) { 1272 1106 deadUni(0x02DB) ; Ogonek 1273 1107 DeadKey := "a5" 1274 } else if(Ebene = 6){1108 } else if (Ebene = 6) { 1275 1109 deadUni(0x02DA) ; Ring oben 1276 1110 DeadKey := "a6" 1277 } CompKey := PriorCompKey1111 } CompKey := PriorCompKey 1278 1112 return 1279 1113 … … 1287 1121 neo_x: 1288 1122 EbeneAktualisieren() 1289 if (Ebene12)1123 if (Ebene12) 1290 1124 OutputChar("x","X") 1291 else if (Ebene = 3)1125 else if (Ebene = 3) 1292 1126 SendUnicodeChar(0x2026) ; Ellipse horizontal 1293 else if (Ebene = 4)1127 else if (Ebene = 4) 1294 1128 SendUnicodeChar(0x22EE) ; Ellipse vertikal 1295 else if (Ebene = 5)1129 else if (Ebene = 5) 1296 1130 SendUnicodeChar(0x03BE) ; xi 1297 else if (Ebene = 6)1131 else if (Ebene = 6) 1298 1132 SendUnicodeChar(0x039E) ; Xi 1299 1133 return … … 1302 1136 neo_v: 1303 1137 EbeneAktualisieren() 1304 if (Ebene12 and !(CheckDeadUni12("c6",0x1E7F,0x1E7E)))1138 if (Ebene12 and !(CheckDeadUni12("c6",0x1E7F,0x1E7E))) 1305 1139 OutputChar("v","V") 1306 else if (Ebene = 3)1140 else if (Ebene = 3) 1307 1141 send {blind}_ 1308 else if(Ebene = 4) 1309 if(not(lernModus) or lernModus_neo_Backspace) 1142 else if (Ebene = 4) and (!lernModus or lernModus_neo_Backspace) 1310 1143 Send {blind}{Backspace} 1311 else if (Ebene = 6)1144 else if (Ebene = 6) 1312 1145 SendUnicodeChar(0x2259) ; estimates 1313 1146 return … … 1317 1150 neo_l: 1318 1151 EbeneAktualisieren() 1319 if (Ebene12 and !(CheckDeadUni12("a1",0x013A,0x0139)1152 if (Ebene12 and !(CheckDeadUni12("a1",0x013A,0x0139) 1320 1153 or CheckDeadUni12("a3",0x013C,0x013B) 1321 1154 or CheckDeadUni12("c2",0x013E,0x013D) 1322 1155 or CheckDeadUni12("c4",0x0140,0x013F) 1323 1156 or CheckDeadUni12("c6",0x1E37,0x1E36) 1324 or CheckDeadUni12("t4",0x0142,0x0141))) 1157 or CheckDeadUni12("t4",0x0142,0x0141) 1158 or CheckCompUni("f",0xFB02) 1159 or CheckCompUni("F",0xFB04))) 1325 1160 OutputChar("l","L") 1326 else if (Ebene = 3)1161 else if (Ebene = 3) 1327 1162 send {blind}[ 1328 else if (Ebene = 4)1163 else if (Ebene = 4) 1329 1164 Send {Blind}{Up} 1330 else if (Ebene = 5)1165 else if (Ebene = 5) 1331 1166 SendUnicodeChar(0x03BB) ; lambda 1332 else if (Ebene = 6)1167 else if (Ebene = 6) 1333 1168 SendUnicodeChar(0x039B) ; Lambda 1334 1169 return … … 1337 1172 neo_c: 1338 1173 EbeneAktualisieren() 1339 if (Ebene12 and !(CheckDeadUni12("a1",0x0107,0x0106)1174 if (Ebene12 and !(CheckDeadUni12("a1",0x0107,0x0106) 1340 1175 or CheckDeadUni12("a3",0x00E7,0x00E6) 1341 1176 or CheckDeadUni12("a4",0x010B,0x010A) … … 1344 1179 or CheckCompAsc("o","�"))) 1345 1180 OutputChar("c","C") 1346 else if (Ebene = 3)1181 else if (Ebene = 3) 1347 1182 send {blind}] 1348 else if (Ebene = 4)1349 if (not(lernModus) or lernModus_neo_Entf)1183 else if (Ebene = 4) 1184 if (not(lernModus) or lernModus_neo_Entf) 1350 1185 Send {blind}{Del} 1351 else if (Ebene = 5)1186 else if (Ebene = 5) 1352 1187 SendUnicodeChar(0x03C7) ; chi 1353 else if (Ebene = 6)1188 else if (Ebene = 6) 1354 1189 SendUnicodeChar(0x2102) ; C (Komplexe Zahlen) 1355 1190 return … … 1357 1192 neo_w: 1358 1193 EbeneAktualisieren() 1359 if (Ebene12 and !(CheckDeadUni12("c1",0x0175,0x0174)))1194 if (Ebene12 and !(CheckDeadUni12("c1",0x0175,0x0174))) 1360 1195 OutputChar("w","W") 1361 else if (Ebene = 3)1196 else if (Ebene = 3) 1362 1197 SendUnicodeChar(0x005E) ; Zirkumflex 1363 else if (Ebene = 4)1198 else if (Ebene = 4) 1364 1199 Send {blind}{Insert} ; Einfg 1365 else if (Ebene = 5)1200 else if (Ebene = 5) 1366 1201 SendUnicodeChar(0x03C9) ; omega 1367 else if (Ebene = 6)1202 else if (Ebene = 6) 1368 1203 SendUnicodeChar(0x03A9) ; Omega 1369 1204 return … … 1371 1206 neo_k: 1372 1207 EbeneAktualisieren() 1373 if (Ebene12 and !(CheckDeadUni12("a3",0x0137,0x0136)1208 if (Ebene12 and !(CheckDeadUni12("a3",0x0137,0x0136) 1374 1209 or CheckDeadUni12("c6",0x1E33,0x1E32))) 1375 1210 OutputChar("k","K") 1376 else if (Ebene = 3)1211 else if (Ebene = 3) 1377 1212 send {blind}{!} 1378 else if (Ebene = 4)1213 else if (Ebene = 4) 1379 1214 Send � 1380 else if (Ebene = 5)1215 else if (Ebene = 5) 1381 1216 SendUnicodeChar(0x03F0) ; kappa symbol (varkappa) 1382 else if (Ebene = 6)1217 else if (Ebene = 6) 1383 1218 SendUnicodeChar(0x221A) ; Wurzel 1384 1219 return … … 1386 1221 neo_h: 1387 1222 EbeneAktualisieren() 1388 if (Ebene12 and !(CheckDeadUni12("a4",0x1E23,0x1E22)1223 if (Ebene12 and !(CheckDeadUni12("a4",0x1E23,0x1E22) 1389 1224 or CheckDeadUni12("c1",0x0125,0x0124) 1390 1225 or CheckDeadUni12("c5",0x0127,0x0126) 1391 1226 or CheckDeadUni12("c6",0x1E25,0x1E24))) 1392 1227 OutputChar("h","H") 1393 else if ((Ebene = 3) and !(CheckDeadUni("c5",0x2264))) ; kleiner gleich1228 else if ((Ebene = 3) and !(CheckDeadUni("c5",0x2264))) ; kleiner gleich 1394 1229 send {blind}< 1395 else if ((Ebene = 4) and !(CheckDeadUni("c1",0x2077)1396 or CheckDeadUni("c5",0x2087)))1230 else if ((Ebene = 4) and !(CheckDeadUni("c1",0x2077) 1231 or CheckDeadUni("c5",0x2087))) 1397 1232 Send {blind}{NumPad7} 1398 else if (Ebene = 5)1233 else if (Ebene = 5) 1399 1234 SendUnicodeChar(0x03C8) ; psi 1400 else if (Ebene = 6)1235 else if (Ebene = 6) 1401 1236 SendUnicodeChar(0x03A8) ; Psi 1402 1237 return … … 1404 1239 neo_g: 1405 1240 EbeneAktualisieren() 1406 if (Ebene12 and !(CheckDeadUni12("a3",0x0123,0x0122)1241 if (Ebene12 and !(CheckDeadUni12("a3",0x0123,0x0122) 1407 1242 or CheckDeadUni12("a4",0x0121,0x0120) 1408 1243 or CheckDeadUni12("c1",0x011D,0x011C) 1409 1244 or CheckDeadUni12("c3",0x011F,0x011E))) 1410 1245 OutputChar("g","G") 1411 else if ((Ebene = 3) and !(CheckDeadUni("c5",0x2265))) ; gr��er gleich1246 else if ((Ebene = 3) and !(CheckDeadUni("c5",0x2265))) ; gr��er gleich 1412 1247 send {blind}> 1413 else if ((Ebene = 4) and !(CheckDeadUni("c1",0x2078)1414 or CheckDeadUni("c5",0x2088)))1248 else if ((Ebene = 4) and !(CheckDeadUni("c1",0x2078) 1249 or CheckDeadUni("c5",0x2088))) 1415 1250 Send {blind}{NumPad8} 1416 else if (Ebene = 5)1251 else if (Ebene = 5) 1417 1252 SendUnicodeChar(0x03B3) ; gamma 1418 else if (Ebene = 6)1253 else if (Ebene = 6) 1419 1254 SendUnicodeChar(0x0393) ; Gamma 1420 1255 return … … 1422 1257 neo_f: 1423 1258 EbeneAktualisieren() 1424 if(Ebene12 and !(CheckDeadUni12("a4",0x1E1F,0x1E1E) 1425 or CheckDeadUni12("t4",0x0192,0x0191))) 1259 if (Ebene12 and !(CheckDeadUni12("a4",0x1E1F,0x1E1E) 1260 or CheckDeadUni12("t4",0x0192,0x0191) 1261 or CheckCompUni("f",0xFB00))) 1426 1262 OutputChar("f","F") 1427 else if ((Ebene = 3) and !(CheckDeadUni("a6",0x2257) ; ring equal to1428 or CheckDeadUni("c1",0x2259) ; entspricht1429 or CheckDeadUni("c2",0x225A) ; EQUIANGULAR TO1430 or CheckDeadUni("c5",0x2261) ; identisch1431 or CheckDeadUni("t1",0x2245) ; ungef�hr gleich1432 or CheckDeadUni("t4",0x2260))) ; ungleich1263 else if ((Ebene = 3) and !(CheckDeadUni("a6",0x2257) ; ring equal to 1264 or CheckDeadUni("c1",0x2259) ; entspricht 1265 or CheckDeadUni("c2",0x225A) ; EQUIANGULAR TO 1266 or CheckDeadUni("c5",0x2261) ; identisch 1267 or CheckDeadUni("t1",0x2245) ; ungef�hr gleich 1268 or CheckDeadUni("t4",0x2260))) ; ungleich 1433 1269 send {blind}`= 1434 else if ((Ebene = 4) and !(CheckDeadUni("c1",0x2079)1270 else if ((Ebene = 4) and !(CheckDeadUni("c1",0x2079) 1435 1271 or CheckDeadUni("c5",0x2089))) 1436 1272 send {blind}{NumPad9} 1437 else if (Ebene = 5)1273 else if (Ebene = 5) 1438 1274 SendUnicodeChar(0x03C6) ; phi 1439 else if (Ebene = 6)1275 else if (Ebene = 6) 1440 1276 SendUnicodeChar(0x03A6) ; Phi 1441 1277 return 1442 1278 1443 1279 neo_q: 1444 EbeneAktualisieren()1445 if(Ebene12)1446 OutputChar("q","Q")1447 else if(Ebene = 3)1448 send {blind}{&}1449 else if((Ebene = 4) and !(CheckDeadUni("c1",0x207A)1450 or CheckDeadUni("c5",0x208A)))1451 Send {blind}{NumPadAdd}1452 else if(Ebene = 5)1453 SendUnicodeChar(0x03D5) ; phi symbol (varphi)1454 else if(Ebene = 6)1455 SendUnicodeChar(0x211A) ; Q (rationale Zahlen)1280 EbeneAktualisieren() 1281 if (Ebene12) 1282 OutputChar("q","Q") 1283 else if (Ebene = 3) 1284 send {blind}{&} 1285 else if ((Ebene = 4) and !(CheckDeadUni("c1",0x207A) 1286 or CheckDeadUni("c5",0x208A))) 1287 Send {blind}{NumPadAdd} 1288 else if (Ebene = 5) 1289 SendUnicodeChar(0x03D5) ; phi symbol (varphi) 1290 else if (Ebene = 6) 1291 SendUnicodeChar(0x211A) ; Q (rationale Zahlen) 1456 1292 return 1457 1293 1458 1294 neo_sz: 1459 1295 EbeneAktualisieren() 1460 if(Ebene = 1) 1461 if(GetKeyState("CapsLock","T")) 1462 SendUnicodeChar(0x1E9E) ; versal-� 1463 else if LangSTastatur 1464 send {blind}s 1465 else 1466 send � 1467 else if(Ebene = 2) 1468 if(GetKeyState("CapsLock","T")) 1469 if LangSTastatur 1470 send {blind}s 1471 else 1472 send � 1473 else 1474 SendUnicodeChar(0x1E9E) ; versal-� 1475 else if(Ebene = 3) 1296 if (Ebene = 1) 1297 if LangSTastatur 1298 outputChar("s","") 1299 else send � 1300 else if (Ebene = 2) 1301 SendUnicodeChar(0x1E9E) ; versal-� 1302 else if (Ebene = 3) 1476 1303 if LangSTastatur 1477 1304 send � 1478 else 1305 else { 1479 1306 SendUnicodeChar(0x017F) ; langes s 1480 else if(Ebene = 5) 1307 CheckComp("lang_s") 1308 } else if (Ebene = 5) 1481 1309 SendUnicodeChar(0x03C2) ; varsigma 1482 else if (Ebene = 6)1310 else if (Ebene = 6) 1483 1311 SendUnicodeChar(0x2218) ; Verkn�pfungsoperator 1484 1312 return … … 1488 1316 noCaps = 1 1489 1317 EbeneAktualisieren() 1490 if(Ebene = 1) 1491 { 1318 if (Ebene = 1) { 1492 1319 deadUni(0x02DC) ; Tilde, tot 1493 1320 DeadKey := "t1" 1494 } 1495 else if(Ebene = 2) 1496 { 1321 } else if (Ebene = 2) { 1497 1322 deadUni(0x00AF) ; Macron, tot 1498 1323 DeadKey := "t2" 1499 } 1500 else if(Ebene = 3) 1501 { 1324 } else if (Ebene = 3) { 1502 1325 deadUni(0x00A8) ; Di�rese 1503 1326 DeadKey := "t3" 1504 } 1505 else if(Ebene = 4)1506 {1327 } else if Ebene7 1328 SendUnicodeChar(0x0308) ; Verbindungszeichen Di�rese 1329 else if (Ebene = 4) { 1507 1330 deadUni(0x002F) ; Schr�gstrich, tot 1508 1331 DeadKey := "t4" 1509 } 1510 else if(Ebene = 5) 1511 { 1332 } else if (Ebene = 5) { 1512 1333 deadUni(0x02DD) ; Doppelakut 1513 1334 DeadKey := "t5" 1514 } 1515 else if(Ebene = 6) 1516 { 1335 } else if (Ebene = 6) { 1517 1336 deadUni(0x02CF) ; Komma drunter, tot 1518 1337 DeadKey := "t6" … … 1530 1349 neo_u: 1531 1350 EbeneAktualisieren() 1532 if (Ebene12 and !(CheckDeadUni12("a1",0x00FA,0x00DA)1351 if (Ebene12 and !(CheckDeadUni12("a1",0x00FA,0x00DA) 1533 1352 or CheckDeadUni12("a2",0x00F9,0x00D9) 1534 1353 or CheckDeadUni12("a5",0x0173,0x0172) … … 1542 1361 or CheckDeadUni12("t5",0x0171,0x0170))) 1543 1362 OutputChar("u","U") 1544 else if (Ebene = 3)1363 else if (Ebene = 3) 1545 1364 send {blind}\ 1546 else if (Ebene = 4)1365 else if (Ebene = 4) 1547 1366 Send {blind}{Home} 1548 else if(Ebene = 5) ; leer 1549 { 1367 else if (Ebene = 5) { ; leer 1550 1368 CompKey := PriorCompKey 1551 1369 DeadKey := PriorDeadKey 1552 } 1553 else if(Ebene = 6) 1370 } else if (Ebene = 6) 1554 1371 SendUnicodeChar(0x222E) ; contour integral 1555 1372 return … … 1557 1374 neo_i: 1558 1375 EbeneAktualisieren() 1559 if (Ebene12 and !(CheckDeadUni12("a1",0x00ED,0x00CD)1376 if (Ebene12 and !(CheckDeadUni12("a1",0x00ED,0x00CD) 1560 1377 or CheckDeadUni12("a2",0x00EC,0x00CC) 1561 1378 or CheckDeadUni12("a4",0x012F,0x012E) … … 1566 1383 or CheckDeadUni12("t1",0x0129,0x0128) 1567 1384 or CheckDeadUni12("t2",0x012B,0x012A) 1568 or CheckDeadAsc12("t3","�","�"))) 1385 or CheckDeadAsc12("t3","�","�") 1386 or CheckCompUni("f",0xFB01) 1387 or CheckCompUni("F",0xFB03))) 1569 1388 OutputChar("i","I") 1570 else if (Ebene = 3)1389 else if (Ebene = 3) 1571 1390 send {blind}`/ 1572 else if (Ebene = 4)1391 else if (Ebene = 4) 1573 1392 Send {Blind}{Left} 1574 else if (Ebene = 5)1393 else if (Ebene = 5) 1575 1394 SendUnicodeChar(0x03B9) ; iota 1576 else if (Ebene = 6)1395 else if (Ebene = 6) 1577 1396 SendUnicodeChar(0x222B) ; integral 1578 1397 return … … 1580 1399 neo_a: 1581 1400 EbeneAktualisieren() 1582 if (Ebene12 and !(CheckDeadUni12("a1",0x00E1,0x00C1)1401 if (Ebene12 and !(CheckDeadUni12("a1",0x00E1,0x00C1) 1583 1402 or CheckDeadUni12("a2",0x00E0,0x00C0) 1584 1403 or CheckDeadUni12("a5",0x0105,0x0104) … … 1591 1410 or CheckDeadAsc12("t3","�","�"))) 1592 1411 OutputChar("a","A") 1593 else if (Ebene = 3)1412 else if (Ebene = 3) 1594 1413 send {blind}{{} 1595 else if (Ebene = 4)1414 else if (Ebene = 4) 1596 1415 Send {Blind}{Down} 1597 else if (Ebene = 5)1416 else if (Ebene = 5) 1598 1417 SendUnicodeChar(0x03B1) ; alpha 1599 else if (Ebene = 6)1418 else if (Ebene = 6) 1600 1419 SendUnicodeChar(0x2200) ; f�r alle 1601 1420 return … … 1603 1422 neo_e: 1604 1423 EbeneAktualisieren() 1605 if (Ebene12 and !(CheckDeadUni12("a1",0x00E9,0x00C9)1424 if (Ebene12 and !(CheckDeadUni12("a1",0x00E9,0x00C9) 1606 1425 or CheckDeadUni12("a2",0x00E8,0x00C8) 1607 1426 or CheckDeadUni12("a4",0x0117,0x0116) … … 1610 1429 or CheckDeadUni12("c2",0x011B,0x011A) 1611 1430 or CheckDeadUni12("c3",0x0115,0x0114) 1431 or CheckDeadUni12("t1",0x1EBD,0x1EBC) 1612 1432 or CheckDeadUni12("t2",0x0113,0x0112) 1613 1433 or CheckDeadAsc12("t3","�","�") … … 1617 1437 or CheckCompAsc12("O","�","�"))) 1618 1438 OutputChar("e","E") 1619 else if (Ebene = 3)1439 else if (Ebene = 3) 1620 1440 send {blind}{}} 1621 else if (Ebene = 4)1441 else if (Ebene = 4) 1622 1442 Send {Blind}{Right} 1623 else if (Ebene = 5)1443 else if (Ebene = 5) 1624 1444 SendUnicodeChar(0x03B5) ; epsilon 1625 else if (Ebene = 6)1445 else if (Ebene = 6) 1626 1446 SendUnicodeChar(0x2203) ; es existiert 1627 1447 return … … 1629 1449 neo_o: 1630 1450 EbeneAktualisieren() 1631 if (Ebene12 and !(CheckDeadUni12("a1",0x00F3,0x00D3)1451 if (Ebene12 and !(CheckDeadUni12("a1",0x00F3,0x00D3) 1632 1452 or CheckDeadUni12("a2",0x00F2,0x00D2) 1633 1453 or CheckDeadUni12("a5",0x01EB,0x01EA) … … 1641 1461 or CheckDeadUni12("t5",0x0151,0x0150))) 1642 1462 OutputChar("o","O") 1643 else if (Ebene = 3)1463 else if (Ebene = 3) 1644 1464 send {blind}* 1645 else if (Ebene = 4)1465 else if (Ebene = 4) 1646 1466 Send {blind}{End} 1647 else if (Ebene = 5)1467 else if (Ebene = 5) 1648 1468 SendUnicodeChar(0x03BF) ; omicron 1649 else if (Ebene = 6)1469 else if (Ebene = 6) 1650 1470 SendUnicodeChar(0x2208) ; element of 1651 1471 return … … 1653 1473 neo_s: 1654 1474 EbeneAktualisieren() 1655 if(Ebene12 and !(CheckDeadUni12("a1",0x015B,0x015A) 1656 or CheckDeadUni12("a3",0x015F,0x015E) 1657 or CheckDeadUni12("a4",0x1E61,0x1E60) 1658 or CheckDeadUni12("c1",0x015D,0x015C) 1659 or CheckDeadUni12("c2",0x0161,0x0160) 1660 or CheckDeadUni12("c6",0x1E63,0x1A62))) 1661 { 1662 if(Ebene = 1) 1663 { 1664 if LangSTastatur 1665 if(GetKeyState("CapsLock","T")) 1666 { 1667 send {blind}s 1668 if(PriorDeadKey = "comp") 1669 Compkey := "s" 1670 } 1671 else 1672 { 1673 SendUnicodeChar(0x017F) ;langes S 1674 if(PriorDeadKey = "comp") 1675 CompKey := "lang_s" 1676 } 1677 else 1678 { 1679 send {blind}s 1680 if(PriorDeadKey = "comp") 1681 CompKey := "s" 1682 } 1683 } 1684 else if(Ebene = 2) 1685 { 1686 if LangSTastatur 1687 if(GetKeyState("CapsLock","T")) 1688 { 1689 SendUnicodeChar(0x017F) ;langes S 1690 if(PriorDeadKey = "comp") 1691 CompKey := "lang_s" 1692 } 1693 else 1694 { 1695 send {blind}S 1696 if(PriorDeadKey = "comp") 1697 CompKey := "s" 1698 } 1699 else 1700 { 1701 send {blind}S 1702 if(PriorDeadKey = "comp") 1703 CompKey := "S" 1704 } 1705 } 1706 } 1707 else if(Ebene = 3) 1475 if (Ebene12 and !(CheckDeadUni12("a1",0x015B,0x015A) 1476 or CheckDeadUni12("a3",0x015F,0x015E) 1477 or CheckDeadUni12("a4",0x1E61,0x1E60) 1478 or CheckDeadUni12("c1",0x015D,0x015C) 1479 or CheckDeadUni12("c2",0x0161,0x0160) 1480 or CheckDeadUni12("c6",0x1E63,0x1A62))) 1481 { 1482 if LangSTastatur and (Ebene = 1) { 1483 SendUnicodeChar(0x017F) ;langes S 1484 CheckComp("lang_s") 1485 } else outputChar("s","S") 1486 } else if (Ebene = 3) 1708 1487 send {blind}? 1709 else if (Ebene = 4)1488 else if (Ebene = 4) 1710 1489 Send � 1711 else if (Ebene = 5)1490 else if (Ebene = 5) 1712 1491 SendUnicodeChar(0x03C3) ;sigma 1713 else if (Ebene = 6)1492 else if (Ebene = 6) 1714 1493 SendUnicodeChar(0x03A3) ;Sigma 1715 1494 return … … 1717 1496 neo_n: 1718 1497 EbeneAktualisieren() 1719 if (Ebene12 and !(CheckDeadUni12("a1",0x0144,0x0143)1498 if (Ebene12 and !(CheckDeadUni12("a1",0x0144,0x0143) 1720 1499 or CheckDeadUni12("a3",0x0146,0x0145) 1721 1500 or CheckDeadUni12("a4",0x1E45,0x1E44) … … 1723 1502 or CheckDeadUni12("t1",0x00F1,0x00D1))) 1724 1503 OutputChar("n","N") 1725 else if (Ebene = 3)1504 else if (Ebene = 3) 1726 1505 send {blind}( 1727 else if ((Ebene = 4) and !(CheckDeadUni("c1",0x2074)1506 else if ((Ebene = 4) and !(CheckDeadUni("c1",0x2074) 1728 1507 or CheckDeadUni("c5",0x2084))) 1729 1508 Send {blind}{NumPad4} 1730 else if (Ebene = 5)1509 else if (Ebene = 5) 1731 1510 SendUnicodeChar(0x03BD) ; nu 1732 else if (Ebene = 6)1511 else if (Ebene = 6) 1733 1512 SendUnicodeChar(0x2115) ; N (nat�rliche Zahlen) 1734 1513 return … … 1736 1515 neo_r: 1737 1516 EbeneAktualisieren() 1738 if (Ebene12 and !(CheckDeadUni12("a1",0x0155,0x0154)1517 if (Ebene12 and !(CheckDeadUni12("a1",0x0155,0x0154) 1739 1518 or CheckDeadUni12("a3",0x0157,0x0156) 1740 1519 or CheckDeadUni12("a4",0x0E59,0x0E58) … … 1744 1523 or CheckCompAsc12("O","�","�"))) 1745 1524 OutputChar("r","R") 1746 else if (Ebene = 3)1525 else if (Ebene = 3) 1747 1526 send {blind}) 1748 else if ((Ebene = 4) and !(CheckDeadUni("c1",0x2075)1527 else if ((Ebene = 4) and !(CheckDeadUni("c1",0x2075) 1749 1528 or CheckDeadUni("c5",0x2085))) 1750 1529 Send {blind}{NumPad5} 1751 else if (Ebene = 5)1530 else if (Ebene = 5) 1752 1531 SendUnicodeChar(0x03F1) ; rho symbol (varrho) 1753 else if (Ebene = 6)1532 else if (Ebene = 6) 1754 1533 SendUnicodeChar(0x211D) ; R (reelle Zahlen) 1755 1534 return … … 1757 1536 neo_t: 1758 1537 EbeneAktualisieren() 1759 if (Ebene12 and !(CheckDeadUni12("a3",0x0163,0x0162)1538 if (Ebene12 and !(CheckDeadUni12("a3",0x0163,0x0162) 1760 1539 or CheckDeadUni12("a4",0x1E6B,0x1E6A) 1761 1540 or CheckDeadUni12("c2",0x0165,0x0164) 1762 1541 or CheckDeadUni12("c5",0x0167,0x0166) 1763 or CheckDeadUni12("c6",0x1E6D,0x1E6C))) 1542 or CheckDeadUni12("c6",0x1E6D,0x1E6C) 1543 or CheckCompUni("lang_s",0xFB05) 1544 or CheckCompUni("s",0xFB06))) 1764 1545 OutputChar("t","T") 1765 else if (Ebene = 3)1546 else if (Ebene = 3) 1766 1547 send {blind}- ; Bisstrich 1767 else if ((Ebene = 4) and !(CheckDeadUni("c1",0x2076)1548 else if ((Ebene = 4) and !(CheckDeadUni("c1",0x2076) 1768 1549 or CheckDeadUni("c5",0x2086))) 1769 1550 Send {blind}{NumPad6} 1770 else if (Ebene = 5)1551 else if (Ebene = 5) 1771 1552 SendUnicodeChar(0x03C4) ; tau 1772 else if (Ebene = 6)1553 else if (Ebene = 6) 1773 1554 SendUnicodeChar(0x2202) ; partielle Ableitung 1774 1555 return … … 1776 1557 neo_d: 1777 1558 EbeneAktualisieren() 1778 if (Ebene12 and !(CheckDeadUni12("a4",0x1E0B,0x1E0A)1559 if (Ebene12 and !(CheckDeadUni12("a4",0x1E0B,0x1E0A) 1779 1560 or CheckDeadUni12("c2",0x010F,0x010E) 1780 1561 or CheckDeadUni12("c5",0x0111,0x0110) … … 1782 1563 or CheckDeadUni12("t4",0x00F0,0x00D0))) 1783 1564 OutputChar("d","D") 1784 else if (Ebene = 3)1565 else if (Ebene = 3) 1785 1566 send {blind}: 1786 else if (Ebene = 4)1567 else if (Ebene = 4) 1787 1568 send `, 1788 else if (Ebene = 5)1569 else if (Ebene = 5) 1789 1570 SendUnicodeChar(0x03B4) ; delta 1790 else if (Ebene = 6)1571 else if (Ebene = 6) 1791 1572 SendUnicodeChar(0x0394) ; Delta 1792 1573 return … … 1794 1575 neo_y: 1795 1576 EbeneAktualisieren() 1796 if (Ebene12 and !(CheckDeadUni12("a1",0x00FD,0x00DD)1577 if (Ebene12 and !(CheckDeadUni12("a1",0x00FD,0x00DD) 1797 1578 or CheckDeadUni12("c1",0x0177,0x0176) 1798 1579 or CheckDeadAsc12("t3","�","�"))) 1799 1580 OutputChar("y","Y") 1800 else if (Ebene = 3)1581 else if (Ebene = 3) 1801 1582 send {blind}@ 1802 else if (Ebene = 4)1583 else if (Ebene = 4) 1803 1584 Send {blind}. 1804 else if (Ebene = 5)1585 else if (Ebene = 5) 1805 1586 SendUnicodeChar(0x03C5) ; upsilon 1806 else if (Ebene = 6)1587 else if (Ebene = 6) 1807 1588 SendUnicodeChar(0x2207) ; nabla 1808 1589 return … … 1816 1597 neo_�: 1817 1598 EbeneAktualisieren() 1818 if (Ebene12 and !(CheckDeadUni12("a1",0x01D8,0x01D7)1599 if (Ebene12 and !(CheckDeadUni12("a1",0x01D8,0x01D7) 1819 1600 or CheckDeadUni12("a2",0x01DC,0x01DB) 1820 1601 or CheckDeadUni12("c2",0x01DA,0x01D9) 1821 1602 or CheckDeadUni12("t2",0x01D6,0x01D5))) 1822 1603 OutputChar("�","�") 1823 else if (Ebene = 3)1604 else if (Ebene = 3) 1824 1605 send {#} 1825 else if (Ebene = 4)1606 else if (Ebene = 4) 1826 1607 Send {blind}{Esc} 1827 else if(Ebene = 5) ; leer 1828 { 1608 else if (Ebene = 5) { ; leer 1829 1609 DeadKey := PriorDeadKey 1830 1610 CompKey := PriorCompKey 1831 } 1832 else if(Ebene = 6) 1611 } else if (Ebene = 6) 1833 1612 SendUnicodeChar(0x221D) ; proportional 1834 1613 return … … 1836 1615 neo_�: 1837 1616 EbeneAktualisieren() 1838 if (Ebene12 and !(CheckDeadUni12("t2",0x022B,0x022A)))1617 if (Ebene12 and !(CheckDeadUni12("t2",0x022B,0x022A))) 1839 1618 OutputChar("�","�") 1840 else if (Ebene = 3)1619 else if (Ebene = 3) 1841 1620 send {blind}$ 1842 else if (Ebene = 4)1621 else if (Ebene = 4) 1843 1622 send {blind}{Tab} 1844 else if(Ebene = 5) 1845 { 1623 else if (Ebene = 5) { ; leer 1846 1624 DeadKey := PriorDeadKey 1847 1625 CompKey := PriorCompKey 1848 } ; leer 1849 else if(Ebene = 6) 1626 } else if (Ebene = 6) 1850 1627 SendUnicodeChar(0x2111) ; Fraktur I 1851 1628 return … … 1853 1630 neo_�: 1854 1631 EbeneAktualisieren() 1855 if (Ebene12 and !(CheckDeadUni12("t2",0x01DF,0x01DE)))1632 if (Ebene12 and !(CheckDeadUni12("t2",0x01DF,0x01DE))) 1856 1633 OutputChar("�","�") 1857 else if (Ebene = 3)1634 else if (Ebene = 3) 1858 1635 send {blind}| 1859 else if (Ebene = 4)1636 else if (Ebene = 4) 1860 1637 Send {blind}{PgDn} ; Next 1861 else if (Ebene = 5)1638 else if (Ebene = 5) 1862 1639 SendUnicodeChar(0x03B7) ; eta 1863 else if (Ebene = 6)1640 else if (Ebene = 6) 1864 1641 SendUnicodeChar(0x211C) ; Fraktur R 1865 1642 return … … 1867 1644 neo_p: 1868 1645 EbeneAktualisieren() 1869 if (Ebene12 and !(CheckDeadUni12("a4",0x1E57,0x1E56)))1646 if (Ebene12 and !(CheckDeadUni12("a4",0x1E57,0x1E56))) 1870 1647 OutputChar("p","P") 1871 else if ((Ebene = 3) and !(CheckDeadUni("t1",0x2248)))1648 else if ((Ebene = 3) and !(CheckDeadUni("t1",0x2248))) 1872 1649 send {blind}~ 1873 else if (Ebene = 4)1650 else if (Ebene = 4) 1874 1651 Send {blind}{Enter} 1875 else if (Ebene = 5)1652 else if (Ebene = 5) 1876 1653 SendUnicodeChar(0x03C0) ; pi 1877 else if (Ebene = 6)1654 else if (Ebene = 6) 1878 1655 SendUnicodeChar(0x03A0) ; Pi 1879 1656 return … … 1881 1658 neo_z: 1882 1659 EbeneAktualisieren() 1883 if (Ebene12 and !(CheckDeadUni12("a1",0x017A,0x0179)1660 if (Ebene12 and !(CheckDeadUni12("a1",0x017A,0x0179) 1884 1661 or CheckDeadUni12("a4",0x017C,0x017B) 1885 1662 or CheckDeadUni12("c2",0x017E,0x017D) 1886 1663 or CheckDeadUni12("c6",0x1E93,0x1E92))) 1887 1664 OutputChar("z","Z") 1888 else if (Ebene = 3)1665 else if (Ebene = 3) 1889 1666 send ``{space} ; untot 1890 else if(Ebene = 4) 1891 { 1667 else if (Ebene = 4) { ; leer 1892 1668 DeadKey := PriorDeadKey 1893 1669 CompKey := PriorCompKey 1894 } ; leer 1895 else if(Ebene = 5) 1670 } else if (Ebene = 5) 1896 1671 SendUnicodeChar(0x03B6) ; zeta 1897 else if (Ebene = 6)1672 else if (Ebene = 6) 1898 1673 SendUnicodeChar(0x2124) ; Z (ganze Zahlen) 1899 1674 return … … 1901 1676 neo_b: 1902 1677 EbeneAktualisieren() 1903 if (Ebene12 and !(CheckDeadUni12("a4",0x1E03,0x1E02)))1678 if (Ebene12 and !(CheckDeadUni12("a4",0x1E03,0x1E02))) 1904 1679 OutputChar("b","B") 1905 else if (Ebene = 3)1680 else if (Ebene = 3) 1906 1681 send {blind}{+} 1907 else if (Ebene = 4)1682 else if (Ebene = 4) 1908 1683 send {blind}: 1909 else if (Ebene = 5)1684 else if (Ebene = 5) 1910 1685 SendUnicodeChar(0x03B2) ; beta 1911 else if (Ebene = 6)1686 else if (Ebene = 6) 1912 1687 SendUnicodeChar(0x21D2) ; Doppel-Pfeil rechts 1913 1688 return … … 1915 1690 neo_m: 1916 1691 EbeneAktualisieren() 1917 if (Ebene12 and !(CheckDeadUni12("a4",0x1E41,0x1E40)1692 if (Ebene12 and !(CheckDeadUni12("a4",0x1E41,0x1E40) 1918 1693 or CheckDeadUni12("c6",0x1E43,0x1E42) 1919 1694 or CheckCompUni12("t",0x2122,0x2122) ; TM 1920 1695 or CheckCompUni12("s",0x2120,0x2120))) ; SM 1921 1696 OutputChar("m","M") 1922 else if (Ebene = 3)1697 else if (Ebene = 3) 1923 1698 send {blind}`% 1924 else if ((Ebene = 4) and !(CheckDeadUni("c1",0x00B9)1699 else if ((Ebene = 4) and !(CheckDeadUni("c1",0x00B9) 1925 1700 or CheckDeadUni("c5",0x2081))) 1926 1701 Send {blind}{NumPad1} 1927 else if (Ebene = 5)1702 else if (Ebene = 5) 1928 1703 SendUnicodeChar(0x03BC) ; griechisch mu, micro w�re 0x00B5 1929 else if (Ebene = 6)1704 else if (Ebene = 6) 1930 1705 SendUnicodeChar(0x21D4) ; doppelter Doppelpfeil (genau dann wenn) 1931 1706 return … … 1934 1709 noCaps = 1 1935 1710 EbeneAktualisieren() 1936 if (Ebene = 1)1937 if (GetKeyState("CapsLock","T"))1938 send {blind}{Shift down} ,{Shift up}1711 if (Ebene = 1) 1712 if isMod2Locked 1713 send {blind}{Shift down} , {Shift up} 1939 1714 else 1940 1715 send {blind}, 1941 else if (Ebene = 2)1716 else if (Ebene = 2) 1942 1717 SendUnicodeChar(0x22EE) ; vertikale ellipse 1943 else if (Ebene = 3)1718 else if (Ebene = 3) 1944 1719 send {blind}" 1945 else if ((Ebene = 4) and !(CheckDeadUni("c1",0x00B2)1720 else if ((Ebene = 4) and !(CheckDeadUni("c1",0x00B2) 1946 1721 or CheckDeadUni("c5",0x2082))) 1947 1722 Send {blind}{NumPad2} 1948 else if (Ebene = 5)1723 else if (Ebene = 5) 1949 1724 SendUnicodeChar(0x03C1) ; rho 1950 else if (Ebene = 6)1725 else if (Ebene = 6) 1951 1726 SendUnicodeChar(0x21D0) ; Doppelpfeil links 1952 1727 return … … 1955 1730 noCaps = 1 1956 1731 EbeneAktualisieren() 1957 if (Ebene = 1)1958 if (GetKeyState("CapsLock","T"))1959 send {blind}{Shift down} .{Shift up}1732 if (Ebene = 1) 1733 if isMod2Locked 1734 send {blind}{Shift down} . {Shift up} 1960 1735 else 1961 1736 send {blind}. 1962 else if (Ebene = 2)1737 else if (Ebene = 2) 1963 1738 SendUnicodeChar(0x2026) ; ellipse 1964 else if (Ebene = 3)1739 else if (Ebene = 3) 1965 1740 send {blind}' 1966 else if ((Ebene = 4) and !(CheckDeadUni("c1",0x00B3)1741 else if ((Ebene = 4) and !(CheckDeadUni("c1",0x00B3) 1967 1742 or CheckDeadUni("c5",0x2083))) 1968 1743 Send {blind}{NumPad3} 1969 else if (Ebene = 5)1744 else if (Ebene = 5) 1970 1745 SendUnicodeChar(0x03D1) ; theta symbol (vartheta) 1971 else if (Ebene = 6)1746 else if (Ebene = 6) 1972 1747 SendUnicodeChar(0x0398) ; Theta 1973 1748 return … … 1976 1751 neo_j: 1977 1752 EbeneAktualisieren() 1978 if (Ebene12 and !(CheckDeadUni12("c1",0x0135,0x0134)1753 if (Ebene12 and !(CheckDeadUni12("c1",0x0135,0x0134) 1979 1754 or CheckDeadUni12("c2",0x01F0,"") 1980 1755 or CheckCompUni("i",0x0133) ; ij … … 1985 1760 or CheckCompUni12("N",0x01CB,0x01CA))) ; Nj/NJ 1986 1761 OutputChar("j","J") 1987 else if (Ebene = 3)1762 else if (Ebene = 3) 1988 1763 send {blind}`; 1989 else if (Ebene = 4)1764 else if (Ebene = 4) 1990 1765 Send {blind}`; 1991 else if (Ebene = 5)1766 else if (Ebene = 5) 1992 1767 SendUnicodeChar(0x03B8) ; theta 1993 else if (Ebene = 6)1768 else if (Ebene = 6) 1994 1769 SendUnicodeChar(0x2261) ; identisch 1995 1770 return … … 2003 1778 neo_NumLock: 2004 1779 EbeneAktualisieren() 2005 if (Ebene = 1)1780 if (Ebene = 1) 2006 1781 send `= 2007 if(Ebene = 2) ; Funktioniert nicht 2008 { 1782 if (Ebene = 2) { ; Funktioniert nicht 2009 1783 SetNumLockState 2010 1784 send {NumLock} 2011 1785 } 2012 if (Ebene = 3)1786 if (Ebene = 3) 2013 1787 SendUnicodeChar(0x2248) ; Fast gleich 2014 if (Ebene = 4)1788 if (Ebene = 4) 2015 1789 SendUnicodeChar(0x2260) ; Ungleich zu 2016 1790 return … … 2020 1794 if Ebene14 2021 1795 send {blind}{NumpadDiv} 2022 else if (Ebene = 2)1796 else if (Ebene = 2) 2023 1797 SendUnicodeChar(0x2215) ; Slash 2024 else if (Ebene = 3)1798 else if (Ebene = 3) 2025 1799 send {blind}� 2026 1800 return … … 2030 1804 if Ebene14 2031 1805 send {blind}{NumpadMult} 2032 else if (Ebene = 2)1806 else if (Ebene = 2) 2033 1807 SendUnicodeChar(0x22C5) ; Cdot 2034 else if (Ebene = 3)1808 else if (Ebene = 3) 2035 1809 send {blind}� 2036 1810 return … … 2038 1812 neo_NumpadSub: 2039 1813 EbeneAktualisieren() 2040 if (Ebene14 and !(CheckDeadUni("c1",0x207B)1814 if (Ebene14 and !(CheckDeadUni("c1",0x207B) 2041 1815 or CheckDeadUni("c5",0x208B))) 2042 1816 send {blind}{NumpadSub} 2043 else if (Ebene = 3)1817 else if (Ebene = 3) 2044 1818 SendUnicodeChar(0x2212) ; Echtes Minus 2045 1819 return … … 2047 1821 neo_NumpadAdd: 2048 1822 EbeneAktualisieren() 2049 if (Ebene14 and !(CheckDeadUni("c1",0x207A)1823 if (Ebene14 and !(CheckDeadUni("c1",0x207A) 2050 1824 or CheckDeadUni("c5",0x208A))) 2051 1825 send {blind}{NumpadAdd} 2052 else if (Ebene = 3)1826 else if (Ebene = 3) 2053 1827 send {blind}� 2054 else if (Ebene = 2)1828 else if (Ebene = 2) 2055 1829 SendUnicodeChar(0x2213) ; Inverses � 2056 1830 return … … 2062 1836 neo_Numpad7: 2063 1837 EbeneAktualisieren() 2064 if(Ebene = 1) 2065 { 1838 if (Ebene = 1) { 2066 1839 if NumLock 2067 1840 send {blind}{Numpad7} 2068 1841 else 2069 send {blind) {Shift up}{Numpad7}2070 if (PriorDeadKey = "comp")1842 send {blind) {Shift up}{Numpad7} 1843 if (PriorDeadKey = "comp") 2071 1844 CompKey := "7" 2072 } 2073 else if(Ebene = 2) 1845 } else if (Ebene = 2) 2074 1846 SendUnicodeChar(0x2020) ; Kreuz 2075 else if (Ebene = 3)1847 else if (Ebene = 3) 2076 1848 SendUnicodeChar(0x2195) ; Hoch-Runter-Pfeil 2077 else if (Ebene = 4)1849 else if (Ebene = 4) 2078 1850 if NumLock 2079 1851 send {blind}{Shift up}{NumpadHome} … … 2084 1856 neo_Numpad8: 2085 1857 EbeneAktualisieren() 2086 if ((Ebene = 1) and !(CheckCompUni("1",0x215B) ; 1/81858 if ((Ebene = 1) and !(CheckCompUni("1",0x215B) ; 1/8 2087 1859 or CheckCompUni("3",0x215C) ; 3/8 2088 1860 or CheckCompUni("5",0x215D) ; 5/8 2089 or CheckCompUni("7",0x215E))) ; 7/8 2090 { 1861 or CheckCompUni("7",0x215E))) { ; 7/8 2091 1862 if NumLock 2092 1863 send {blind}{Numpad8} 2093 1864 else 2094 send {blind) {Shift up}{Numpad8}2095 if (PriorDeadKey = "comp")1865 send {blind) {Shift up}{Numpad8} 1866 if (PriorDeadKey = "comp") 2096 1867 CompKey := "8" 2097 } 2098 else if(Ebene = 2) 1868 } else if (Ebene = 2) 2099 1869 SendUnicodeChar(0x2229) ; Durchschnitt 2100 else if (Ebene = 3)1870 else if (Ebene = 3) 2101 1871 SendUnicodeChar(0x2191) ; Hochpfeil 2102 else if (Ebene = 4)1872 else if (Ebene = 4) 2103 1873 if NumLock 2104 1874 send {blind}{Shift up}{NumpadUp} … … 2109 1879 neo_Numpad9: 2110 1880 EbeneAktualisieren() 2111 if(Ebene = 1) 2112 { 1881 if (Ebene = 1) { 2113 1882 if NumLock 2114 1883 send {blind}{Numpad9} 2115 1884 else 2116 send {blind) {Shift up}{Numpad9}2117 if (PriorDeadKey = "comp")1885 send {blind) {Shift up}{Numpad9} 1886 if (PriorDeadKey = "comp") 2118 1887 CompKey := "9" 2119 } 2120 else if(Ebene = 2) 1888 } else if (Ebene = 2) 2121 1889 SendUnicodeChar(0x2297) ; Tensorprodukt / Vektor in die Ebene zeigend 2122 else if (Ebene = 3)1890 else if (Ebene = 3) 2123 1891 SendUnicodeChar(0x220D) ; Kleines umgekehrtes Elementzeichen 2124 else if (Ebene = 4)1892 else if (Ebene = 4) 2125 1893 if NumLock 2126 1894 send {blind}{Shift up}{NumpadPgUp} … … 2131 1899 neo_Numpad4: 2132 1900 EbeneAktualisieren() 2133 if((Ebene = 1) and !(CheckCompUni("1",0x00BC) ; 1/4 2134 or CheckCompUni("3",0x00BE))) ; 3/4 2135 { 1901 if ((Ebene = 1) and !(CheckCompUni("1",0x00BC) ; 1/4 1902 or CheckCompUni("3",0x00BE))) { ; 3/4 2136 1903 if NumLock 2137 1904 send {blind}{Numpad4} 2138 1905 else 2139 send {blind) {Shift up}{Numpad4}2140 if (PriorDeadKey = "comp")1906 send {blind) {Shift up}{Numpad4} 1907 if (PriorDeadKey = "comp") 2141 1908 CompKey := "4" 2142 } 2143 else if(Ebene = 2) 1909 } else if (Ebene = 2) 2144 1910 SendUnicodeChar(0x2282) ; Teilmenge 2145 else if (Ebene = 3)1911 else if (Ebene = 3) 2146 1912 SendUnicodeChar(0x2190) ; Linkspfeil 2147 else if (Ebene = 4)1913 else if (Ebene = 4) 2148 1914 if NumLock 2149 1915 send {blind}{Shift up}{NumpadLeft} … … 2154 1920 neo_Numpad5: 2155 1921 EbeneAktualisieren() 2156 if ((Ebene = 1) and !(CheckCompUni("1",0x2155) ; 1/51922 if ((Ebene = 1) and !(CheckCompUni("1",0x2155) ; 1/5 2157 1923 or CheckCompUni("2",0x2156) ; 2/5 2158 1924 or CheckCompUni("3",0x2157) ; 3/5 2159 or CheckCompUni("4",0x2158))) ; 4/5 2160 { 1925 or CheckCompUni("4",0x2158))) { ; 4/5 2161 1926 if NumLock 2162 1927 send {blind}{Numpad5} 2163 1928 else 2164 send {blind) {Shift up}{Numpad5}2165 if (PriorDeadKey = "comp")1929 send {blind) {Shift up}{Numpad5} 1930 if (PriorDeadKey = "comp") 2166 1931 CompKey := "5" 2167 } 2168 else if(Ebene = 3) 1932 } else if (Ebene = 3) 2169 1933 SendUnicodeChar(0x221E) ; Unendlich 2170 else if (Ebene = 2)1934 else if (Ebene = 2) 2171 1935 SendUnicodeChar(0x20AC) ; Euro 2172 else if (Ebene = 4) ; Beg1936 else if (Ebene = 4) ; Beg 2173 1937 if NumLock 2174 1938 send {NumPad5} … … 2179 1943 neo_Numpad6: 2180 1944 EbeneAktualisieren() 2181 if((Ebene = 1) and !(CheckCompUni("1",0x2159) ; 1/6 2182 or CheckCompUni("5",0x215a))) ; 5/6 2183 { 1945 if ((Ebene = 1) and !(CheckCompUni("1",0x2159) ; 1/6 1946 or CheckCompUni("5",0x215a))) { ; 5/6 2184 1947 if NumLock 2185 1948 send {blind}{Numpad6} 2186 1949 else 2187 send {blind) {Shift up}{Numpad6}2188 if (PriorDeadKey = "comp")1950 send {blind) {Shift up}{Numpad6} 1951 if (PriorDeadKey = "comp") 2189 1952 CompKey := "6" 2190 } 2191 else if(Ebene = 2) 1953 } else if (Ebene = 2) 2192 1954 SendUnicodeChar(0x2283) ; Obermenge 2193 else if (Ebene = 3)1955 else if (Ebene = 3) 2194 1956 SendUnicodeChar(0x2192) ; Rechtspfeil 2195 else if (Ebene = 4)1957 else if (Ebene = 4) 2196 1958 if NumLock 2197 1959 send {blind}{Shift up}{NumpadRight} … … 2202 1964 neo_Numpad1: 2203 1965 EbeneAktualisieren() 2204 if(Ebene = 1) 2205 { 1966 if (Ebene = 1) { 2206 1967 if NumLock 2207 1968 send {blind}{Numpad1} 2208 1969 else 2209 send {blind) {Shift up}{Numpad1}2210 if (PriorDeadKey = "comp")1970 send {blind) {Shift up}{Numpad1} 1971 if (PriorDeadKey = "comp") 2211 1972 CompKey := "1" 2212 } 2213 else if(Ebene = 2) 1973 } else if (Ebene = 2) 2214 1974 SendUnicodeChar(0x2714) ; H�kchen 2215 else if (Ebene = 3)1975 else if (Ebene = 3) 2216 1976 SendUnicodeChar(0x2194) ; Links-Rechts-Pfeil 2217 else if (Ebene = 4)1977 else if (Ebene = 4) 2218 1978 if NumLock 2219 1979 send {blind}{Shift up}{NumpadEnd} … … 2224 1984 neo_Numpad2: 2225 1985 EbeneAktualisieren() 2226 if((Ebene = 1) and !(CheckCompUni("1",0x00BD))) ; 1/2 2227 { 1986 if ((Ebene = 1) and !(CheckCompUni("1",0x00BD))) { ; 1/2 2228 1987 if NumLock 2229 1988 send {blind}{Numpad2} 2230 1989 else 2231 send {blind) {Shift up}{Numpad2}2232 if (PriorDeadKey = "comp")1990 send {blind) {Shift up}{Numpad2} 1991 if (PriorDeadKey = "comp") 2233 1992 CompKey := "2" 2234 } 2235 else if(Ebene = 2) 1993 } else if (Ebene = 2) 2236 1994 SendUnicodeChar(0x222A) ; Vereinigung 2237 else if (Ebene = 3)1995 else if (Ebene = 3) 2238 1996 SendUnicodeChar(0x2192) ; Untenpfeil 2239 else if (Ebene = 4)1997 else if (Ebene = 4) 2240 1998 if NumLock 2241 1999 send {blind}{Shift up}{NumpadDown} … … 2246 2004 neo_Numpad3: 2247 2005 EbeneAktualisieren() 2248 if((Ebene = 1) and !(CheckCompUni("1",0x2153) ; 1/3 2249 or CheckCompUni("5",0x2154))) ; 2/3 2250 { 2006 if ((Ebene = 1) and !(CheckCompUni("1",0x2153) ; 1/3 2007 or CheckCompUni("5",0x2154))) { ; 2/3 2251 2008 if NumLock 2252 2009 send {blind}{Numpad3} 2253 2010 else 2254 send {blind) {Shift up}{Numpad3}2255 if (PriorDeadKey = "comp")2011 send {blind) {Shift up}{Numpad3} 2012 if (PriorDeadKey = "comp") 2256 2013 CompKey := "3" 2257 } 2258 else if(Ebene = 2) 2014 } else if (Ebene = 2) 2259 2015 SendUnicodeChar(0x2718) ; Kreuzchen 2260 else if (Ebene = 3)2016 else if (Ebene = 3) 2261 2017 SendUnicodeChar(0x2192) ; Rechtspfeil 2262 else if (Ebene = 4)2018 else if (Ebene = 4) 2263 2019 if NumLock 2264 2020 send {blind}{Shift up}{NumpadPgDn} … … 2269 2025 neo_Numpad0: 2270 2026 EbeneAktualisieren() 2271 if(Ebene = 1) 2272 { 2027 if (Ebene = 1) { 2273 2028 if NumLock 2274 2029 send {blind}{Numpad0} 2275 2030 else 2276 send {blind) {Shift up}{Numpad0}2277 if (PriorDeadKey = "comp")2031 send {blind) {Shift up}{Numpad0} 2032 if (PriorDeadKey = "comp") 2278 2033 CompKey := "0" 2279 } 2280 else if(Ebene = 2) 2034 } else if (Ebene = 2) 2281 2035 SendUnicodeChar(0x2030) ; Promille 2282 else if (Ebene = 3)2036 else if (Ebene = 3) 2283 2037 SendUnicodeChar(0x0025) ; Prozent 2284 else if (Ebene = 4)2038 else if (Ebene = 4) 2285 2039 if NumLock 2286 2040 send {blind}{Shift up}{NumpadIns} … … 2291 2045 neo_NumpadDot: 2292 2046 EbeneAktualisieren() 2293 if(Ebene = 1) 2294 { 2047 if (Ebene = 1) { 2295 2048 if NumLock 2296 2049 send {blind}{NumpadDot} 2297 2050 else 2298 send {blind){Shift up}{NumpadDot} 2299 } 2300 else if(Ebene = 2) 2051 send {blind) {Shift up}{NumpadDot} 2052 } else if (Ebene = 2) 2301 2053 send `, 2302 else if (Ebene = 3)2054 else if (Ebene = 3) 2303 2055 send {blind}. 2304 else if (Ebene = 4)2056 else if (Ebene = 4) 2305 2057 if NumLock 2306 2058 send {blind}{Shift up}{NumpadDel} … … 2316 2068 2317 2069 *space:: 2318 if ((einHandNeo))2070 if ((einHandNeo)) 2319 2071 spacepressed := 1 2320 2072 else … … 2323 2075 2324 2076 *space up:: 2325 if((einHandNeo)) 2326 { 2327 if((keypressed)) 2077 if ((einHandNeo)) { 2078 if ((keypressed)) 2328 2079 { 2329 2080 keypressed := 0 2330 2081 spacepressed := 0 2331 } 2332 else 2082 } else 2333 2083 { 2334 2084 goto neo_SpaceUp 2335 2085 } 2336 } 2337 else 2338 { } ;do nothing 2086 } else 2087 {} ;do nothing 2339 2088 return 2340 2089 2341 2090 neo_SpaceUp: 2342 2091 EbeneAktualisieren() 2343 if ((Ebene = 1) and !(CheckComp3Uni("r_1",0x2170) ; R�misch i2092 if ((Ebene = 1) and !(CheckComp3Uni("r_1",0x2170) ; R�misch i 2344 2093 or CheckComp3Uni("R_1",0x2160))) ; R�misch I 2345 2094 Send {blind}{Space} 2346 2095 else if ((Ebene = 2) or (Ebene = 3)) 2347 2096 Send {blind}{Space} 2348 else if (Ebene = 4 and !(CheckDeadUni("c1",0x2070)2097 else if (Ebene = 4 and !(CheckDeadUni("c1",0x2070) 2349 2098 or CheckDeadUni("c5",0x2080))) 2350 2099 Send {blind}{NumPad0} 2351 else if (Ebene = 5)2100 else if (Ebene = 5) 2352 2101 SendUnicodeChar(0x00A0) ; gesch�tztes Leerzeichen 2353 else if (Ebene = 6)2102 else if (Ebene = 6) 2354 2103 SendUnicodeChar(0x202F) ; schmales gesch�tztes Leerzeichen 2355 2104 DeadKey := "" CompKey := "" … … 2365 2114 2366 2115 *Enter:: 2367 if(not(lernModus) or lernModus_std_Return) 2368 { 2116 if (not(lernModus) or lernModus_std_Return) { 2369 2117 send {Blind}{Enter} 2370 2118 DeadKey := "" CompKey := "" 2371 } 2372 return 2119 } return 2373 2120 2374 2121 *Backspace:: 2375 if(not(lernModus) or lernModus_std_Backspace) 2376 { 2122 if (not(lernModus) or lernModus_std_Backspace) { 2377 2123 send {Blind}{Backspace} 2378 2124 DeadKey := "" CompKey := "" 2379 } 2380 return 2125 } return 2381 2126 2382 2127 *Del:: 2383 if (not(lernModus) or lernModus_std_Entf)2128 if (not(lernModus) or lernModus_std_Entf) 2384 2129 send {Blind}{Del} 2385 2130 return 2386 2131 2387 2132 *Ins:: 2388 if (not(lernModus) or lernModus_std_Einf)2133 if (not(lernModus) or lernModus_std_Einf) 2389 2134 send {Blind}{Ins} 2390 2135 return … … 2395 2140 2396 2141 neo_tab: 2397 if(IsMod3Pressed()) 2398 { 2142 if (IsMod3Pressed()) { 2399 2143 DeadKey := "comp" 2400 2144 CompKey := "" 2401 } 2402 else 2403 { 2145 } else { 2404 2146 send {blind}{Tab} 2405 2147 DeadKey := "" 2406 2148 CompKey := "" 2407 } 2408 return 2149 } return 2409 2150 2410 2151 *Home:: 2411 if(not(lernModus) or lernModus_std_Pos1) 2412 { 2152 if (not(lernModus) or lernModus_std_Pos1) { 2413 2153 send {Blind}{Home} 2414 2154 DeadKey := "" CompKey := "" 2415 } 2416 return 2155 } return 2417 2156 2418 2157 *End:: 2419 if(not(lernModus) or lernModus_std_Ende) 2420 { 2158 if (not(lernModus) or lernModus_std_Ende) { 2421 2159 send {Blind}{End} 2422 2160 DeadKey := "" CompKey := "" 2423 } 2424 return 2161 } return 2425 2162 2426 2163 *PgUp:: 2427 if(not(lernModus) or lernModus_std_PgUp) 2428 { 2164 if (not(lernModus) or lernModus_std_PgUp) { 2429 2165 send {Blind}{PgUp} 2430 2166 DeadKey := "" CompKey := "" 2431 } 2432 return 2167 } return 2433 2168 2434 2169 *PgDn:: 2435 if(not(lernModus) or lernModus_std_PgDn) 2436 { 2170 if (not(lernModus) or lernModus_std_PgDn) { 2437 2171 send {Blind}{PgDn} 2438 2172 DeadKey := "" CompKey := "" 2439 } 2440 return 2173 } return 2441 2174 2442 2175 *Up:: 2443 if(not(lernModus) or lernModus_std_Hoch) 2444 { 2176 if (not(lernModus) or lernModus_std_Hoch) { 2445 2177 send {Blind}{Up} 2446 2178 DeadKey := "" CompKey := "" 2447 } 2448 return 2179 } return 2449 2180 2450 2181 *Down:: 2451 if(not(lernModus) or lernModus_std_Runter) 2452 { 2182 if (not(lernModus) or lernModus_std_Runter) { 2453 2183 send {Blind}{Down} 2454 2184 DeadKey := "" CompKey := "" 2455 } 2456 return 2185 } return 2457 2186 2458 2187 *Left:: 2459 if(not(lernModus) or lernModus_std_Links) 2460 { 2188 if (not(lernModus) or lernModus_std_Links) { 2461 2189 send {Blind}{Left} 2462 2190 DeadKey := "" CompKey := "" 2463 } 2464 return 2191 } return 2465 2192 2466 2193 *Right:: 2467 if(not(lernModus) or lernModus_std_Rechts) 2468 { 2194 if (not(lernModus) or lernModus_std_Rechts) { 2469 2195 send {Blind}{Right} 2470 2196 DeadKey := "" CompKey := "" 2471 } 2472 return 2197 } return 2473 2198 /* 2474 2199 ------------------------------------------------------ … … 2578 2303 DllCall("RtlFillMemory", "UInt", &pDest + pOffset + A_Index-1, "UInt", 1, "UChar", pInteger >> 8*(A_Index-1) & 0xFF) 2579 2304 } 2580 2581 2582 2583 2584 deadAsc(val){ 2305 deadAsc(val) { 2585 2306 global 2586 if !(DeadSilence)2307 if !DeadSilence 2587 2308 send % val 2588 2309 } 2589 2310 2590 deadUni(val) {2311 deadUni(val) { 2591 2312 global 2592 if !(DeadSilence)2313 if !DeadSilence 2593 2314 SendUnicodeChar(val) 2594 2315 } 2595 2316 2596 undeadAsc(val) {2317 undeadAsc(val) { 2597 2318 global 2598 if (DeadSilence)2319 if DeadSilence 2599 2320 send % val 2600 2321 else … … 2604 2325 undeadUni(val){ 2605 2326 global 2606 if !(DeadSilence)2327 if !DeadSilence 2607 2328 send {bs} 2608 2329 SendUnicodeChar(val) 2609 2330 } 2610 2331 2611 CheckDeadAsc(d,val) {2332 CheckDeadAsc(d,val) { 2612 2333 global 2613 if (PriorDeadKey == d){2334 if (PriorDeadKey == d) { 2614 2335 undeadAsc(val) 2615 2336 return 1 2616 } else return 02617 } 2618 2619 CheckDeadUni(d,val) {2337 } else return 0 2338 } 2339 2340 CheckDeadUni(d,val) { 2620 2341 global 2621 if (PriorDeadKey == d){2342 if (PriorDeadKey == d) { 2622 2343 undeadUni(val) 2623 2344 return 1 2624 } else return 02625 } 2626 2627 CheckDeadAsc12(d,val1,val2) {2345 } else return 0 2346 } 2347 2348 CheckDeadAsc12(d,val1,val2) { 2628 2349 global 2629 if (PriorDeadKey == d){2630 if ((Ebene = 1) and (val1 != "")){2350 if (PriorDeadKey == d){ 2351 if (Ebene = 1) and (val1 != "") { 2631 2352 undeadAsc(val1) 2632 2353 return 1 2633 } else if((Ebene = 2) and (val2 != "")){2354 } else if (Ebene = 2) and (val2 != "") { 2634 2355 undeadAsc(val2) 2635 2356 return 1 2636 } else return 02637 } else return 02638 } 2639 2640 CheckDeadUni12(d,val1,val2) {2357 } else return 0 2358 } else return 0 2359 } 2360 2361 CheckDeadUni12(d,val1,val2) { 2641 2362 global 2642 if(PriorDeadKey == d) {2643 if ((Ebene = 1) and (val1 != "")){2363 if(PriorDeadKey == d) { 2364 if (Ebene = 1) and (val1 != "") { 2644 2365 undeadUni(val1) 2645 2366 return 1 2646 } else if((Ebene = 2) and (val2 != "")){2367 } else if (Ebene = 2) and (val2 != "") { 2647 2368 undeadUni(val2) 2648 2369 return 1 2649 } else return 02650 } else return 02651 } 2652 2653 compAsc(val) {2370 } else return 0 2371 } else return 0 2372 } 2373 2374 compAsc(val) { 2654 2375 global 2655 if !(DeadCompose)2376 if !DeadCompose 2656 2377 send % val 2657 2378 } 2658 2379 2659 compUni(val) {2380 compUni(val) { 2660 2381 global 2661 if !(DeadCompose)2382 if !DeadCompose 2662 2383 SendUnicodeChar(val) 2663 2384 } 2664 2385 2665 uncompAsc(val) {2386 uncompAsc(val) { 2666 2387 global 2667 if (DeadCompose)2388 if DeadCompose 2668 2389 send % val 2669 2390 else send % "{bs}" . val 2670 2391 } 2671 2392 2672 uncompUni(val) 2673 { 2393 uncompUni(val) { 2674 2394 global 2675 if !(DeadCompose)2395 if !DeadCompose 2676 2396 send {bs} 2677 2397 SendUnicodeChar(val) 2678 2398 } 2679 2399 2680 uncomp3Uni(val) 2681 { 2400 uncomp3Uni(val) { 2682 2401 global 2683 if !(DeadCompose)2402 if !DeadCompose 2684 2403 send {bs}{bs} 2685 2404 SendUnicodeChar(val) 2686 2405 } 2687 2406 2688 CheckCompAsc(d,val) {2407 CheckCompAsc(d,val) { 2689 2408 global 2690 if (PriorCompKey == d){2409 if (PriorCompKey == d) { 2691 2410 uncompAsc(val) 2692 2411 return 1 2693 } else return 02694 } 2695 2696 CheckCompAsc12(d,val1,val2) {2412 } else return 0 2413 } 2414 2415 CheckCompAsc12(d,val1,val2) { 2697 2416 global 2698 if (PriorCompKey == d)2699 if ((Ebene = 1) and (val1 != "")){2417 if (PriorCompKey == d) 2418 if (Ebene = 1) and (val1 != "") { 2700 2419 uncompAsc(val1) 2701 2420 return 1 2702 } else if((Ebene = 2) and (val2 != "")){2421 } else if (Ebene = 2) and (val2 != "") { 2703 2422 uncompAsc(val2) 2704 2423 return 1 2705 } else return 02424 } else return 0 2706 2425 else return 0 2707 2426 } 2708 2427 2709 CheckCompUni(d,val) {2428 CheckCompUni(d,val) { 2710 2429 global 2711 if (PriorCompKey == d){2430 if (PriorCompKey == d) { 2712 2431 uncompUni(val) 2713 2432 return 1 2714 } else return 02433 } else return 0 2715 2434 } 2716 2435 2717 2436 CheckCompUni12(d,val1,val2){ 2718 2437 global 2719 if (PriorCompKey == d){2720 if ((Ebene = 1) and (val1 != "")){2438 if (PriorCompKey == d) { 2439 if (Ebene = 1) and (val1 != "") { 2721 2440 uncompUni(val1) 2722 2441 return 1 2723 }else if ((Ebene = 2) and (val2 != "")){2442 }else if (Ebene = 2) and (val2 != "") { 2724 2443 uncompUni(val2) 2725 2444 return 1 2726 } else return 02727 } else return 02728 } 2729 2730 CheckComp3Uni(d,val) {2445 } else return 0 2446 } else return 0 2447 } 2448 2449 CheckComp3Uni(d,val) { 2731 2450 global 2732 if (PriorCompKey == d){2451 if (PriorCompKey == d) { 2733 2452 uncomp3Uni(val) 2734 2453 return 1 2735 } else return 02736 } 2737 2738 CheckComp3Uni12(d,val1,val2) {2454 } else return 0 2455 } 2456 2457 CheckComp3Uni12(d,val1,val2) { 2739 2458 global 2740 if (PriorCompKey == d){2741 if ((Ebene = 1) and (val1 != "")){2459 if (PriorCompKey == d) { 2460 if (Ebene = 1) and (val1 != "") { 2742 2461 uncomp3Uni(val1) 2743 2462 return 1 2744 } else if((Ebene = 2) and (val2 != "")){2463 } else if (Ebene = 2) and (val2 != "") { 2745 2464 uncomp3Uni(val2) 2746 2465 return 1 2747 } else return 02748 } else return 02749 } 2750 2751 outputChar(val1,val2) {2466 } else return 0 2467 } else return 0 2468 } 2469 2470 outputChar(val1,val2) { 2752 2471 global 2753 if (Ebene = 1)2472 if (Ebene = 1) 2754 2473 c := val1 2755 else 2756 c := val2 2757 if GetKeyState("Shift","P") and isMod2Locked 2474 else c := val2 2475 if GetKeyState("Shift","P") and isMod2Locked 2758 2476 send % "{blind}{Shift Up}" . c . "{Shift Down}" 2759 else 2760 send % "{blind}" . c 2761 if(PriorDeadKey = "comp") 2477 else send % "{blind}" . c 2478 if (PriorDeadKey = "comp") 2762 2479 CompKey := c 2763 2480 } 2764 2481 2765 checkComp(d) {2766 if (PriorDeadKey = "comp"){2482 checkComp(d) { 2483 if (PriorDeadKey = "comp") { 2767 2484 CompKey := d 2768 2485 return 1 … … 2799 2516 DllCall("ntdll\RtlFillMemoryUlong","Uint",ref,"Uint",4,"Uint",val) 2800 2517 } 2801 2802 2518 /* 2803 2519 ------------------------------------------------------ … … 2968 2684 } 2969 2685 Return 2970 2971 2686
