Zitat:
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.
These are good to test in Notepad. Rotating the rotary will then do "NNNNNNNNNMMMMMMMMNNNNNNN".
|
Hi Leute!
Die oben beschriebene Funktion scheint im aktuellen Router (2.4.1.1) nicht mehr zu funktionieren. Gibt es eine andere Möglichkeit, um mit einem Rotary-Switch ja nach Drehrichtung zwei unterschiedliche Tastenkommandos zu schicken?
Danke für Eure Hilfe!!