• 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 ... 30 31 32 33 34 ... 320 Next »

Question about controller configuration and syntax
View New Posts | View Today's Posts

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Thread Modes
Question about controller configuration and syntax
05-27-2020, 06:59 AM
#1
chonfx
Unregistered
 
I looked at Dolphin's own page explaining the syntax and it didn't fully explain it. I've been playing Metroid Prime Trilogy using the Primehack. The problem I have in that game is you have 4 beams and 4 visors. What I wanted to do was map it out so the dpad does 4, but then holding the dpad does the other 4. I'm wondering if this would be possible to do with the operators and functions. I was able to set it up so that the beams went after holding a direction for 0.5/s, but that will always activate the other mapping. I'm wondering if it's possible to set it up so that when I go for the 0.5/s hold, it doesn't trigger the secondary mapping. If anyone knows where to find a more indepth explanation of the syntax, it would be much appreciated.
Reply
05-28-2020, 11:56 AM (This post was last modified: 05-28-2020, 01:16 PM by Rusty Potato. Edit Reason: Clarification )
#2
Rusty Potato Offline
Junior Member
**
Posts: 34
Threads: 1
Joined: Feb 2019
(05-27-2020, 06:59 AM)chonfx Wrote: I looked at Dolphin's own page explaining the syntax and it didn't fully explain it. I've been playing Metroid Prime Trilogy using the Primehack. The problem I have in that game is you have 4 beams and 4 visors. What I wanted to do was map it out so the dpad does 4, but then holding the dpad does the other 4. I'm wondering if this would be possible to do with the operators and functions. I was able to set it up so that the beams went after holding a direction for 0.5/s, but that will always activate the other mapping. I'm wondering if it's possible to set it up so that when I go for the 0.5/s hold, it doesn't trigger the secondary mapping. If anyone knows where to find a more indepth explanation of the syntax, it would be much appreciated.

I think the below should do the trick. The input will be delayed until you release, so having a shorter hold/release time might help. Adjust as needed:

!`input` & pulse(`input`, 0.5)

As far as syntax explanations, I'm planning to try to update that particular syntax page once I'm cleared to edit the wiki.
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