Jump to content
Corsair Community

CUE 2 multiple macro canceling each other out


Valgrimur
 Share

Recommended Posts

Here is my issue:

 

I have the k-95 and I have programed the 6 key to continuously be press every 10.5 seconds. the key is also the toggle on and off. I also have mapped the side 5 of the g keys to other functions. Alone they work perfectly but if I have the macro for the 6 key running and then press one of the G keys that are mapped to other functions the repeat macro stops.

 

Oh the g keys are mapped CRTL+1 / CTRL+2 ect.

 

any ideas.

 

Things I have tried. Changing about every repeat setting. Moving the repeat function over to my mouse (Scimitar through same CUE 2 program) changing the repeat key to something else. Deleting the marco and starting over. mapping the toggle on and off to a different key.

Link to comment
Share on other sites

no dice afik there are many posts in this sub forum about how to achieve what you need, but you need to run it along side cue like AHK or something else. Sample code below, yours would or may be be a great deal more complex. That said, it is very doable i should think?

 

I do think it is a distant horizon feature for the devs, but personally, my first wish list item is still the ability to tell cue to switch to a specific profile programattically. It is the more blatant lacking feature in my opinion.

 

Below example is not even a good way to go about what you want...I bet you could pass the pressed hotkey using A_ThisHotkey in various scenarios to a function that sensibly looped what you were looking to do, but you may be better off if you only need one, just having one loop and have CUE handle the rest. Compile your AHK to exe and run through CUE or modify the register callback example in the latest SDK to output something AHK recognizes if you are targeting G or M keys.

 

#SingleInstance
#MaxThreadsPerHotkey 1

SendMode Input
global aAct:=0
global sAct:=0

$*a::
aAct:=1
While GetKeyState("a", "P") {
	Send Z
	Sleep 800
	if(sAct) {
		if GetKeyState("s", "P") {
			Send Y
			Sleep 800		
		}
	}
}
aAct:=0
Return

$*s::
sAct:=1
While GetKeyState("s", "P") {
	Send Y
	Sleep 800
	if(sAct) {
		if GetKeyState("a", "P") {
			Send Z
			Sleep 800
		}
	}
}
sAct:=0
Return

Link to comment
Share on other sites

  • 11 months later...
 Share

×
×
  • Create New...