Page 1 of 1

Wheel Keys Sequence As Turned {F1}{F2}{F3}...{F10}{F1}

Posted: Fri Feb 26, 2021 9:40 pm
by ggb667
XMBC Version:2.17
Windows Version: Microsoft Windows [Version 10.0.18363.1379]
Mouse Information (brand/model): Rat 7
Relevant Computer Information (CPU, RAM etc): i7 2600K, 8GB
Did the problem occur after an upgrade of XMBC? (If so, from what version?): No
Did the problem occur after a Windows update/upgrade? (If so, from what version?): No
How long have you used XMBC?: 3 years
What language and keyboard layout do you use in Windows?: English QWERTY

Clear description of the problem - try and include as much information as possible, including what button and mappings you are having problems with (if applicable).:

I have need for pressing keys in a sequence every time the mouse wheel is spun, AS it is spun.

Each increment of spin should hit a different Key {F1}, {F2} ... {F8} and ideally looping back to {F1}. Ideally rotation in the opposite dirrection would decrement the keys. I thought I might be able to do this with layers, where each mouse wheel scroll would advance to the next (or previous) layer), But I did not see a way to do this. It does not seem that simulated keys has a way to advance to the next layer, but it DOES have a selection to activate a layer ot go to a specific layer, but that is a complete function, not a simulated key press. The function keys are for camera controls. I searched the forums and read the help carefully but cant determine how to do this.

Re: Wheel Keys Sequence As Turned {F1}{F2}{F3}...{F10}{F1}

Posted: Mon Mar 01, 2021 9:39 pm
by phil
Yes, layers is the only way to do this as it stands using XMBC alone.
The key is to send the simkey command to change layer after the {F1}, like {F1}{LAYER:2} or {F1}{LAYER:NEXT}
Then on layer 2, {F2}{LAYER:NEXT} and so on...
When you get to the last key in sequence, you can use {LAYER1} - then it should just continuously cycle.
For wheel down, you just need to go the correct layer after the key is sent (so from layer 1 to layer 8, and all others, {LAYER:PREV} should work.

The following text should be in the SIMKEY instructions window...
Layer modifier tags: {LAYER:x} Switch to layer <x>
{LAYER:next} Switch to next layer
{LAYER:back} Switch to preceding layer
{LAYER:last} Switch to the last active layer