Hi, I'm new to the forums and I registered specifically to ask this question. I'm setting up emulated Wiimote fornzelda skyward sword, and I realized there are programmable functions available for each keys with operators and functions, if already setup a combo for when I fly on the loft to be that when I press right on my dpad, I can use my right stick to move it, but I have to keep the right dpad press in order to work, so I wonder if there is a function I can set that with one click of my dpad to the right, the right stick remains enable to drive the loft and when I click my dpad to the right again , my right dpad goes back to normal, is this possible?
[Help] Emulated Wiimote Key Setup
|
01-04-2020, 11:41 PM
I gave someone an example of a way to do this here: https://forums.dolphin-emu.org/Thread-wi...toggle-key
01-05-2020, 07:51 AM
(01-04-2020, 11:41 PM)Billiard26 Wrote: I gave someone an example of a way to do this here: https://forums.dolphin-emu.org/Thread-wi...toggle-key well, that definitely works for me, but now i have one more question, i wanna like un-toggle the previous button pressed, iv been trying combinations but none seems to work, thing is i set it up so if i press once Pad W, my right stick gets enable for Pointing, if i press it again it gets disable for Pointing, if i press once Pad E, my right stick gets enable for Tilt, if i press it again i gets disable, but if i press Pad W and also Pad E, both gets enable, what i want is that if i press Pad E while Pad W is toggle, then it gets un-toggled, is that possible? Edit: i kind of acomplish what i wanted using an if, like this: if (!toggle(`Pad W`) & !toggle(`Pad E`), `Right Y+`, none) but that is just a partial solution, if its possible i would like to be able to un-toggle the toggled button when i press the new button :-( 01-06-2020, 12:24 AM
The toggle function has an optional 2nd parameter that clears the state.
This will toggle between 0 and 1 on "W" press and reset to 0 on "E" press. toggle(`Pad W`, `Pad E`) 01-06-2020, 01:32 PM
(01-06-2020, 12:24 AM)Billiard26 Wrote: The toggle function has an optional 2nd parameter that clears the state. Well that did it hehe, do u know a place where i can find some info about all these functions? cause the wiki only shows operators but no functions :-( 01-08-2020, 01:24 AM
There isn't really any documentation yet but if you insert the functions using the drop-down list the error output will display the expected arguments.
|
« Next Oldest | Next Newest »
|
Users browsing this thread: 1 Guest(s)