• 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 ... 144 145 146 147 148 ... 320 Next »

Pointing out a bug in the controller config
View New Posts | View Today's Posts

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Thread Modes
Pointing out a bug in the controller config
06-07-2015, 01:29 AM (This post was last modified: 06-07-2015, 01:33 AM by Amon1995.)
#1
Amon1995 Offline
Member
***
Posts: 94
Threads: 6
Joined: May 2015
(SCROLL RIGHT TO THE BOTTOM OF THIS POST IF YOU WANT A SHORT EXPLANATION)


-------------LONG EXPLANATION-------------
Okay this is kinda hard to explain, but if you guys can understand it, that'll be great.

Basically when you set your controls, it's possible to have two buttons do one thing.
For example: If I wanted to input "Z" in a game, and I set that to "A" on my actual controller, and say if I wanted to input "Z" also on another button, for example "B" on my actual controller, it's perfectly possible to do that on Dolphin by using the "| OR" command in controller setting. By doing this now I have both "A" and "B" on my actual controller inputting "Z" in the game.

Now here's where it gets complicated.
In the Dolphin config controls you have a option called "! NOT". Sometimes you have to use this to config your controls so they don't clash with other controls configured to the same button.

For Example:
I have configured the Wii D-PAD to the right analog stick on my controller, but I've also configured the Wii IR to the right analog stick.
To use the Wii D-PAD I just move the right analog stick normally for Up, Down, Left, and Right.
To use the Wii IR, I hold "Button 5" and move the right analog stick Up, Down Left and Right to move the IR. And that works fine.

To prevent these two things from clashing I've set the Wii IR like this: `Button 5` & `Axis Zr-`
And the D-PAD like this: !`Button 5` & `Axis Zr-`

^ Notice the "!" Before it says Button 5 on the D-PAD config. That's the "! NOT" option, so that when I hold Button 5 and move the right analog stick, the IR will move, and the D-PAD won't. And if I just move the right analog stick on it's own, the D-PAD works, and the IR won't move, because I'm not holding Button 5.

All of this works perfectly fine.


Now back when I said the "| OR" command lets you use two buttons to do the same thing, it DOESN'T work when you have two buttons set to the "! NOT" command, and have the "| OR" command between them.

So for example, if I wanted to set the D-PAD on the actual D-PAD of my controller like normal, AND have the D-PAD set to the right analog stick of my controller like normal, AND have the IR on the right analog stick (by holding button 5), AND have tilt controls on the D-PAD (by holding button 5). This won't work because you can't have two "! NOT" controls and "| OR" between them. So the D-PAD controls can only be on one thing, the right analog, or the actual D-PAD.

If I take out "! NOT" from one of the controls, then the D-PAD will work on both the right analog and the actual D-PAD, but one will clash with either the IR or the tilt controls when I hold button 5 depending on which command I take the "! NOT" from.





-------------SHORT EXPLANATION-------------

The equation !`Button 5` & `Axis Zr-`|!`Button 5` & `Hat 0 N` doesn't work because I lose control of !`Button 5` & `Axis Zr-` as soon as I put |!`Button 5` & `Hat 0 N`.

But theoretically it should because it's the same as thing as having `Button 5` | `Button 6`.
Or having !`Button 5` & `Axis Zr-`|`Button 5` & `Hat 0 N`


So having !NOT |OR !NOT does not work.
But having Select |OR Select does work
And having !NOT |OR Select does work


I think only the Dolphin Developers will know what I'm talking about.
So hopefully this will be fixed in the next Dolphin development version :').
[Image: ldapou54a26.png]
Find
Reply
06-07-2015, 11:02 AM
#2
Lucario Offline
AURA GENKI DAMA!!
****
Posts: 280
Threads: 13
Joined: Jul 2011
I don't think you should choose ! NOT first before any other button in the combination.

Try this?
Code:
`Axis Zr-` & !`Button 5` | `Hat 0 N` & !`Button 5`
Prime [color=#2299FF]Z270[/color]-A :: [color=teal]7700k[/color] [color=#33CC33]@4.9Ghz[/color] :: Nvidia RTX [color=#33CC33]2060[/color]
Find
Reply
06-07-2015, 11:49 PM
#3
MayImilae Online
Chronically Distracted
**********
Administrators
Posts: 4,604
Threads: 120
Joined: Mar 2011
What is the controller you are mapping this to and what are the drivers for it?
[Image: RPvlSEt.png]
AMD Threadripper Pro 5975WX PBO+200 | Asrock WRX80 Creator | NVIDIA GeForce RTX 4090 FE | 64GB DDR4-3600 Octo-Channel | Windows 11 22H2 | (details)
MacBook Pro 14in | M1 Max (32 GPU Cores) | 64GB LPDDR5 6400 | macOS 12
Find
Reply
06-08-2015, 07:38 AM
#4
Amon1995 Offline
Member
***
Posts: 94
Threads: 6
Joined: May 2015
Lucario, thanks! Your code worked, I guess it wasn't a bug after all, it's just a matter of which order you arrange the combination.
[Image: ldapou54a26.png]
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