Changeset 1088
- Timestamp:
- 11/02/08 15:00:02 (5 years ago)
- Location:
- windows/neo-vars
- Files:
-
- 4 modified
-
keydefinitions.ahk (modified) (1 diff)
-
keyhooks.ahk (modified) (3 diffs)
-
neo20-vars.ahk (modified) (7 diffs)
-
recycle.ahk (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
windows/neo-vars/keydefinitions.ahk
r1077 r1088 77 77 ED("esc" ,0,"U001B","U001B","U001B","PRlod","U001B","U001B") 78 78 ED("tab" ,0,"U0009","U0009","SComp","U0009","U0009","U0009") 79 ED("F10" ,0,"S_F10","S_F10"," S_F10","P_VMt","S_F10","S_F10")79 ED("F10" ,0,"S_F10","S_F10","P_EHt","P_VMt","S_F10","S_F10") 80 80 ED("F11" ,0,"S_F11","S_F11","S_F11","PLnSt","S_F11","S_F11") 81 81 ED1("enter" ,"U000D") -
windows/neo-vars/keyhooks.ahk
r1072 r1088 57 57 *VKBESC034:: ; . (.) 58 58 *VKBDSC035:: ; - (j) 59 *space:: 59 60 60 61 ; Numpad … … 164 165 *VKBESC034 up:: ; . (.) 165 166 *VKBDSC035 up:: ; - (j) 167 *space up:: 166 168 167 169 ; Numpad … … 215 217 AllStar(A_ThisHotkey) 216 218 return 217 218 *space::219 if ((einHandNeo))220 spacepressed := 1221 else222 AllStar(A_ThisHotkey)223 return224 225 *space up::226 if ((einHandNeo)) {227 if ((keypressed)) {228 keypressed := 0229 spacepressed := 0230 } else {231 AllStar("space") ;???232 AllStar("space up")233 }234 } else235 AllStar(A_ThisHotkey)236 return -
windows/neo-vars/neo20-vars.ahk
r1081 r1088 33 33 } else 34 34 IsDown := 1 35 ActKey := PhysKey ; das k�nnte sp�ter f�r eine Transformation benutzt werden35 ActKey := TransformKey(PhysKey) 36 36 if ((striktesMod2Lock == 0) && (NOC%ActKey% == 1)) 37 37 Ebene := EbeneNC … … 110 110 CharStarUp(PhysKey) { 111 111 global 112 if (PR%PhysKey% != "") 113 CharOutUp(PR%PhysKey%) ; resulting from key repeat 114 112 if (PR%PhysKey% != "") { 113 tosend := PR%PhysKey% 114 if (SubStr(tosend,1,1)=="P") 115 CharProc(SubStr(tosend,2)) 116 else 117 CharOutUp(tosend) 118 } 115 119 PR%PhysKey% := "" 116 120 PP%PhysKey% := "" … … 180 184 global 181 185 if (subroutine == "_Rom") { 186 ; starte gro� geschriebene r�mische Zahlen 182 187 IsPressHooked := 1 183 188 PressHookRoutine := "Roman" 184 189 RomanSum := 0 185 190 } else if (subroutine == "_rom") { 191 ; starte klein geschriebene r�mische Zahlen 186 192 IsPressHooked := 1 187 193 PressHookRoutine := "roman" 188 194 RomanSum := 0 189 195 } else if (subroutine == "_Uni") { 196 ; starte Unicode-Hex-in-Zeichen-Umwandlung 190 197 IsPressHooked := 1 191 198 PressHookRoutine := "Uni" 192 199 UniSum := "" 193 200 } else if (subroutine == "DUni") { 201 ; starte Unicode-Zeichen-in-Hex-Umwandlung 194 202 IsPressHooked := 1 195 203 PressHookRoutine := "DUni" 196 } else if (subroutine == "Rlod") 204 } else if (subroutine == "Rlod") { 205 ; Neustart des AHK-Skripts 197 206 reload 198 else if (subroutine == "LnSt") {199 ;Lang-s-Tastatur: 207 } else if (subroutine == "LnSt") { 208 ;Lang-s-Tastatur: Toggle 200 209 LangSTastatur := !(LangSTastatur) 201 210 if (LangSTastatur) … … 204 213 CharProc("LnS0") 205 214 } else if (subroutine == "LnS1") { 215 ; Lange-s-Tastatur aktivieren 206 216 ED("VKBASC01A",1,"U0073","U1E9E","U00DF","" ,"U03C2","U2218") ; � 207 217 ED("VK48SC023",1,"U017F","U0053","U003F","U00BF","U03C3","U03A3","U0073") ; s 208 218 KeyboardLED(2,"on") 209 219 } else if (subroutine == "LnS0") { 220 ; Lange-s-Tastatur deaktivieren 210 221 ED("VKBASC01A",1,"U00DF","U1E9E","U017F","" ,"U03C2","U2218") ; � 211 222 ED("VK48SC023",1,"U0073","U0053","U003F","U00BF","U03C3","U03A3","U017F") ; s 212 223 KeyboardLED(2,"off") 213 224 } else if (subroutine == "_VMt") { 225 ; VM-Tastaturbelegungsvariante togglen 214 226 ; Belegungsvariante VM 215 227 isVM := !(isVM) 216 if (isVM) 228 if (isVM) { 217 229 CharProc("_VM1") 218 else 230 MsgBox,Willkommen bei der NEO-VM-Belegungsvariante! Zum Deaktivieren, Mod4+F10 dr�cken 231 } else { 219 232 CharProc("_VM0") 233 MsgBox,NEO-VM-Belegungsvariante deaktiviert 234 } 220 235 } else if (subroutine == "_VM1") { 236 ; VM-Tastaturbelegungsvariante aktivieren 221 237 ED("VK51SC010",1,"U0079","U0059","U2026","U22EE","U03C5","U2207") ; y 222 238 ED("VK57SC011",1,"U006F","U004F","U005F","U0008","U03BF","U2208") ; o … … 231 247 ED("VK56SC02F",1,"U0076","U0056","U007E","U000D","" ,"U2259") ; v 232 248 } else if (subroutine == "_VM0") { 249 ; VM-Tastaturbelegungsvariante deaktivieren 233 250 ED("VK51SC010",1,"U0078","U0058","U2026","U22EE","U03BE","U039E") ; x 234 251 ED("VK57SC011",1,"U0076","U0056","U005F","U0008","" ,"U2259") ; v … … 242 259 ED("VKDESC028",1,"U0079","U0059","U0040","U002E","U03C5","U2207") ; y 243 260 ED("VK56SC02F",1,"U0070","U0050","U007E","U000D","U03C0","U03A0") ; p 261 } else if (subroutine == "_EHt") { 262 ; Einhandmodus togglen 263 einHandNeo := !(einHandNeo) 264 if (einHandNeo) { 265 CharProc("_EH1") 266 MsgBox,Willkommen beim NEO-Einhand-Modus! Zum Deaktivieren, Mod3+F10 dr�cken 267 } else { 268 CharProc("_EH0") 269 MsgBox,NEO-Einhand-Modus deaktiviert 270 } 271 } else if (subroutine == "_EH1") { 272 ; Einhand-NEO aktivieren 273 ; Reihe 1 274 TKEH_VK37SC008 := "VK36SC007" ; 7 -> 6 275 TKEH_VK38SC009 := "VK35SC006" ; 8 -> 5 276 TKEH_VK39SC00A := "VK34SC005" ; 9 -> 4 277 TKEH_VK30SC00B := "VK33SC004" ; 0 -> 3 278 TKEH_VKDBSC00C := "VK32SC003" ; � -> 2 279 TKEH_VKDDSC00D := "VK31SC002" ; tot2 -> 1 280 ; Reihe 2 281 TKEH_VK5ASC015 := "VK54SC014" ; k -> w 282 TKEH_VK55SC016 := "VK52SC013" ; h -> c 283 TKEH_VK49SC017 := "VK45SC012" ; g -> l 284 TKEH_VK4FSC018 := "VK57SC011" ; f -> v 285 TKEH_VK50SC019 := "VK51SC010" ; q -> x 286 TKEH_VKBASC01A := "VK09SC00F" ; � -> tab 287 TKEH_VKBBSC01B := "VKDCSC029" ; tot3 -> tot1 288 ; Reihe 3 289 TKEH_VK48SC023 := "VK47SC022" ; s -> o 290 TKEH_VK4ASC024 := "VK46SC021" ; n -> e 291 TKEH_VK4BSC025 := "VK44SC020" ; r -> a 292 TKEH_VK4CSC026 := "VK53SC01F" ; t -> i 293 TKEH_VKC0SC027 := "VK41SC01E" ; d -> u 294 ; Reihe 4 295 TKEH_VK4ESC031 := "VK42SC030" ; b -> z 296 TKEH_VK4DSC032 := "VK56SC02F" ; m -> p 297 TKEH_VKBCSC033 := "VK43SC02E" ; , -> � 298 TKEH_VKBESC034 := "VK58SC02D" ; . -> � 299 TKEH_VKBDSC035 := "VK59SC02C" ; j -> � 300 ; Modify Space 301 ED1("space","PEHSd") 302 ED("EHSpace",0,"U0020","U0020","U0020","SN__0","U00A0","U202F") 303 } else if (subroutine == "_EH0") { 304 ; Einhand-NEO deaktivieren 305 ; Reihe 1 306 TKEH_VK37SC008 := "" ; 7 307 TKEH_VK38SC009 := "" ; 8 308 TKEH_VK39SC00A := "" ; 9 309 TKEH_VK30SC00B := "" ; 0 310 TKEH_VKDBSC00C := "" ; � 311 TKEH_VKDDSC00D := "" ; tot2 312 ; Reihe 2 313 TKEH_VK5ASC015 := "" ; k 314 TKEH_VK55SC016 := "" ; h 315 TKEH_VK49SC017 := "" ; g 316 TKEH_VK4FSC018 := "" ; f 317 TKEH_VK50SC019 := "" ; q 318 TKEH_VKBASC01A := "" ; � 319 TKEH_VKBBSC01B := "" ; tot3 320 ; Reihe 3 321 TKEH_VK48SC023 := "" ; s 322 TKEH_VK4ASC024 := "" ; n 323 TKEH_VK4BSC025 := "" ; r 324 TKEH_VK4CSC026 := "" ; t 325 TKEH_VKC0SC027 := "" ; d 326 ; Reihe 4 327 TKEH_VK4ESC031 := "" ; b 328 TKEH_VK4DSC032 := "" ; m 329 TKEH_VKBCSC033 := "" ; , 330 TKEH_VKBESC034 := "" ; . 331 TKEH_VKBDSC035 := "" ; j 332 ED("space",0,"U0020","U0020","U0020","SN__0","U00A0","U202F") 333 } else if (subroutine == "EHSd") { 334 ; Space im Einhandmodus gedr�ckt 335 EHSpacePressed := 1 336 PRspace := "PEHSu" 337 } else if (subroutine == "EHSu") { 338 ; Space im Einhandmodus losgelassen 339 if (!EHKeyPressed) { 340 AllStar("*EHSpace") 341 AllStar("*EHSpace up") 342 } 343 EHKeyPressed := 0 344 EHSpacePressed := 0 244 345 } 245 346 } … … 417 518 } 418 519 520 TransformKey(PhysKey) { 521 global 522 if (einHandNeo and EHSpacePressed and (TKEH_%PhysKey% != "")) { 523 ActKey := TKEH_%PhysKey% 524 EHKeyPressed := 1 525 } else if (TK_%PhysKey% != "") 526 ActKey := TK_%PhysKey% 527 else 528 ActKey := PhysKey 529 return ActKey 530 } -
windows/neo-vars/recycle.ahk
r1087 r1088 429 429 */ 430 430 431 431 432 +pause:: 432 433 Suspend, Permit … … 450 451 menu, tray, icon, %ResourceFolder%\neo_disabled.ico,,1 451 452 suspend , on ; Schaltet Suspend ein -> QWERTZ 452 } return 453 } 454 return 453 455 454 456 help:
