Changeset 778

Show
Ignore:
Timestamp:
08/19/08 01:59:03 (5 years ago)
Author:
martin_r
Message:

CapsLock+Shift-Fehler ausgebessert

Location:
windows/autohotkey
Files:
5 modified

Legend:

Unmodified
Added
Removed
  • windows/autohotkey/Changelog-and-Todo.txt

    r776 r778  
    1717- Compose vollst�ndig implementieren (Welche Methode ist hierzu am besten geeignet?). 
    1818- Bessere L�sung f�r das Leeren von PriorDeadKey finden, damit die Sondertasten nicht mehr abgefangen werden m�ssen. 
    19 - Testen, ob die Capslockl�sung (siehe *1:: Ebene 1) auch f�r Numpad gebraucht wird. 
    20 - Die Ebenen vom Tastenblock an die neue Referenz anpassen (wenn da ein Konsens gefunden wurde). 
    2119- Blindes Compose implementieren. 
    22 - CompKey in Abh�ngigkeit von CapsLock setzen. 
    2320- CapsLock-Abh�ngigkeiten entfernen. 
    2421 
     
    2724- Die Compose-Kombinationen sollten automatisch aus den Referenzdateien im Compose-Verzeichnis erzeugt werden. 
    2825 
    29  
    3026=== �nderungshistorie === 
    31  
     27Revision 778 (von Martin Roppelt) 
     28- CapsLock+Shift-Fehler au?gebessert 
     29Revision 777 (von Martin Roppelt) 
     30- Syntaxfehler ausgebessert 
    3231Revision 776 (von Martin Roppelt) 
    3332- Global-Part.ahk, Keys-Neo.ahk: ZeigeLockBoxen in ZeigeLockBox umbenannt. 
  • windows/autohotkey/Source/Methods-Layers.ahk

    r777 r778  
    111111{ 
    112112  global 
    113   return ((GetKeyState("Shift","P")) = !(isMod2Locked)) ;xor 
     113  if GetKeyState("Shift","P") 
     114    if isMod2Locked 
     115      return 0 
     116    else 
     117      return 1 
     118  else 
     119    if isMod2Locked 
     120      return 1 
     121    else 
     122      return 0 
    114123} 
    115124 
  • windows/autohotkey/Source/Methods-Other.ahk

    r776 r778  
    276276  else 
    277277    c := val2 
    278   send % "{blind}" . c 
     278  if GetKeyState("Shift","P") and isMod2Locked 
     279    send % "{blind}{Shift Up}" . c . "{Shift Down}" 
     280  else 
     281    send % "{blind}" . c 
    279282  if (PriorDeadKey = "comp") 
    280283    CompKey := c 
  • windows/autohotkey/neo20.ahk

    r777 r778  
    468468{ 
    469469  global 
    470   return ((GetKeyState("Shift","P")) = !(isMod2Locked)) ;xor 
     470  if GetKeyState("Shift","P") 
     471    if isMod2Locked 
     472      return 0 
     473    else 
     474      return 1 
     475  else 
     476    if isMod2Locked 
     477      return 1 
     478    else 
     479      return 0 
    471480} 
    472481 
     
    30053014  else 
    30063015    c := val2 
    3007   send % "{blind}" . c 
     3016  if GetKeyState("Shift","P") and isMod2Locked 
     3017    send % "{blind}{Shift Up}" . c . "{Shift Down}" 
     3018  else 
     3019    send % "{blind}" . c 
    30083020  if (PriorDeadKey = "comp") 
    30093021    CompKey := c