Einzelnen Beitrag anzeigen
Alt 05.10.2005, 21:36   #1
protonmw
Senior Member
 
Registriert seit: 14.08.2005
Beiträge: 136


Frage the "pipe" character | that separates rotaries

Hab grad folgendes gefunden:

So you define something like this:

Name a line "GYROKey" and have the key event be: "K+VK_SHIFT;K+N;d40;K-N;K-VK_SHIFT|K+VK_SHIFT;K+M;d40;K-M;K-VK_SHIFT"

This looks *horrible* but lets try to break it up:

K+KEY = press key "KEY" down. So:

K+VK_SHIFT = press shift down.
K+N = press down n
d40 = delay 40 milliseconds
K-N = release key n
K-VK_SHIFT = release shift.

Now you understand this just does a "Shift-N"

Then there's the "pipe" character | that separates rotaries - when a switch becomes "1" it does the event *on the right side* of the pipe, and when a switch becomes -1 (or was it 0? Cant remember now) then it does the sequence on the left side.



Das ist genau das was ich noch brauche!!!!!!!
Aber das geht nicht!

Das "|" wird nicht akzeptiert...

Weiss jemand wie der Syntax korrekt lautet???
____________________________________
Marc

CondorVA CFG1170 // EDDC_TWR
http://www.edoh.de
protonmw ist offline   Mit Zitat antworten