• Login
  • Register
  • Dolphin Forums
  • Home
  • FAQ
  • Download
  • Wiki
  • Code


Dolphin, the GameCube and Wii emulator - Forums › Dolphin Emulator Discussion and Support › Controllers v
« Previous 1 ... 37 38 39 40 41 ... 319 Next »

[Help] Emulated Wiimote Key Setup
View New Posts | View Today's Posts

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Thread Modes
[Help] Emulated Wiimote Key Setup
01-04-2020, 05:45 PM
#1
Javito
Unregistered
 
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?
Reply
01-04-2020, 11:41 PM
#2
Billiard26 Offline
Developer
**********
Developers (Some Administrators and Super Moderators)
Posts: 2,661
Threads: 8
Joined: Feb 2010
I gave someone an example of a way to do this here: https://forums.dolphin-emu.org/Thread-wii-motion-toggle-key
Find
Reply
01-05-2020, 07:51 AM
#3
Javito
Unregistered
 
(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-wii-motion-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 :-(
Reply
01-06-2020, 12:24 AM
#4
Billiard26 Offline
Developer
**********
Developers (Some Administrators and Super Moderators)
Posts: 2,661
Threads: 8
Joined: Feb 2010
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`)
Find
Reply
01-06-2020, 01:32 PM
#5
Javito
Unregistered
 
(01-06-2020, 12:24 AM)Billiard26 Wrote: 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`)

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 :-(
Reply
01-08-2020, 01:24 AM
#6
Billiard26 Offline
Developer
**********
Developers (Some Administrators and Super Moderators)
Posts: 2,661
Threads: 8
Joined: Feb 2010
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.
Find
Reply
« Next Oldest | Next Newest »


  • View a Printable Version
  • Subscribe to this thread
Forum Jump:


Users browsing this thread: 1 Guest(s)



Powered By MyBB | Theme by Fragma

Linear Mode
Threaded Mode