Changeset 2183

Show
Ignore:
Timestamp:
03/10/10 15:34:03 (5 months ago)
Author:
mösi
Message:

BST: Aufteilung in physische Taste (GuiPhysKey) und emulierte Taste für Einhand-Neo

Location:
windows/neo-vars/src/source
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • windows/neo-vars/src/source/einhandneo.ahk

    r1808 r2183  
    5959  TKEH_VKBCSC033 := "VK43SC02E" ; , -> �  TKEH_VKBESC034 := "VK58SC02D" ; . -> � TKEH_VKBDSC035 := "VK59SC02C" ; j -> � Modify Space 
    6060  ED1("space","P__EHSd") 
     61  GUISYM("P__EHSd","EH") 
    6162  ED("EHSpace",0,"U000020","U000020","U000020","S__N__0","U0000A0","U00202F") 
    62   TransformProc := "Einhand" 
     63 
     64  TransformProc     := "Einhand" 
     65  TransformBSTNProc := "Einhand" 
    6366} 
    6467 
     
    101104  TKEH_VKBDSC035 := "" ; j 
    102105  ED("space",0,"U000020","U000020","U000020","S__N__0","U0000A0","U00202F") 
    103   TransformProc := "" 
     106  GUISYM("P__EHSd","") 
     107 
     108  TransformProc     := "" 
     109  TransformBSTNProc := "" 
    104110} 
    105111 
     
    108114  ; Space im Einhandmodus gedr�  EHSpacePressed := 1 
    109115  PRspace := "P__EHSu" 
     116  if (useBSTN) 
     117    BSTNUpdate() 
    110118} 
    111119 
     
    119127  EHKeyPressed := 0 
    120128  EHSpacePressed := 0 
     129  if (useBSTN) 
     130    BSTNUpdate() 
    121131} 
    122132 
     
    136146  return PhysKey 
    137147} 
     148 
     149TransformBSTNEinhand(PhysKey) { 
     150  global 
     151  if (EHSpacePressed and (TKEH_%PhysKey% != "")) { 
     152    return TKEH_%PhysKey% 
     153  } 
     154  return PhysKey 
     155} 
  • windows/neo-vars/src/source/screenkeyboard_new.ahk

    r2182 r2183  
    3636        } else 
    3737          GuiEb := EbeneC 
     38        if (TransformBSTNProc != "") 
     39          GuiVirtKey := TransformBSTN%TransformBSTNProc%(GuiPhysKey) 
     40        else 
     41          GuiVirtKey := GuiPhysKey 
    3842        CurrentComp := Comp 
    3943        GuiComp := "" 
    4044rerun_bstnupdate: 
    41         GuiComp1 := CurrentComp . CP%GuiEb%%GuiPhysKey% 
     45        GuiComp1 := CurrentComp . CP%GuiEb%%GuiVirtKey% 
    4246        if (GSYM%GuiComp1% != "") { 
    4347          GuiComp .= GSYM%GuiComp1% 
     
    4751          GuiComp .= "U00002AU00002A" 
    4852        } else if (CF%CurrentComp% != "") { 
    49           if (IM%GuiPhysKey% != 1) 
     53          if (IM%GuiVirtKey% != 1) 
    5054            GuiComp .= CF%CurrentComp% 
    5155          CurrentComp := ""