Page 1 of 1

Command question!

Posted: Tue Mar 19, 2019 10:08 am
by wan2940
I've set up a simulation key on the wheel down.
However, I want to apply it only once even if I roll several times in a few seconds. What should I do with this command?


Re: Command question!

Posted: Tue Mar 19, 2019 7:47 pm
by phil
Tricky, the wheel does not behave like a button (with a down and up message) but just has a single scroll message for each "notch" scrolled.
There is an option on the profile options tab, "Ignore remapped repeated vertical scroll message" or something like that. Turn that on and set the time accordingly...

But if you set it too high, it may not execute the mapped command until the time expires.. There is currently no way to prevent the mapping repeating other than via this timer.

If thats not enough, depending very much on what you are mapping to, you could maybe use simulated keystrokes and send your keys.commands and then make use if the layers, and switch to another layer where the wheel is disabled, and have that layer switch back to default (layer 1) after another time period - but thats not really dealing with the issue, just another workaround. It really depends what your trying to achieve.


Re: Command question!

Posted: Thu Apr 18, 2019 11:07 am
by Parmon
I had no idea you could switch between layers like that. Can you do that indefinitely or however many times you want, Phil?

Re: Command question!

Posted: Thu Apr 18, 2019 1:04 pm
by phil
Urm, you can set a timer up on the layer you switch to so it switches back after a time. That will happen every time you switch to that layer..
I'm not sure if that answers your question, I guess its indefinably.

NOTE: To switch layers using simulated keystrokes you can use {LAYER:x} if you do that on layer 1, and set the sim keys to "not block" the source button (wheel) then the wheel will work for "one" notch/scroll and then switch to layer x (e.g. 2) where the wheel can be disabled so it will scroll no more until layer 1 is reactivated (manually or by revering to layer 1 on a timer).