what the difference? and if it isn't described in any guide, so maybe developers need to add that hint in Dolphin-wiki?
Difference between OR and ADD in controls setup
|
07-26-2016, 06:12 AM
OR means you can press A OR B on your controller to press that button on the emulated controller. The other I assume you mean is AND which will only press the button if A AND B are pressed.
07-26-2016, 06:44 AM
(07-26-2016, 06:12 AM)ExtremeDude2 Wrote: OR means you can press A OR B on your controller to press that button on the emulated controller. The other I assume you mean is AND which will only press the button if A AND B are pressed.no, I didn't mistake. Go to controls config and you see: OR, AND, ADD. So AND and ADD are not the same 07-26-2016, 08:06 AM
(07-26-2016, 06:44 AM)Kyogre Wrote: no, I didn't mistake. Go to controls config and you see: OR, AND, ADD. So AND and ADD are not the same Ok, using the latest dev builds, going to controller settings, I don't see what you're talking about
Windows 11 Home x64
Intel Core i7-10700 Nvidia Rtx 2060 6GB 32.0 GB DDR4 RAM 07-27-2016, 01:20 PM
(This post was last modified: 07-27-2016, 01:21 PM by KHg8m3r.
Edit Reason: clarification
)
That's the add button, so if you want to map multiple buttons to the same function.
OR is stating that it has to be A or B, but not both at the same time ADD means you can use A, B, and C all at once to press the button, if you were so inclined, as Dolphin would only see that as 1 press. 07-27-2016, 05:29 PM
KHg8m3r,
Have you checked it? I had checked and it is not true. If you assign A | B you can use them even both at the same time and it will work, the same goes for A + B.
OR works the same as || in programming languages (the button will be pressed if A or B is pressed -- note that it is not an exclusive or).
AND is the same as &&. Both A and B have to be pressed. I'm not sure, but I would guess ADD is to add the values of A and B together (button presses are either 0 (unpressed) or 1 (pressed), but I think you can get values between 0 and 1 with axes). Edit: in case of doubt, you can always check the source to see what Dolphin is doing. Here's the ExpressionParser. 07-28-2016, 10:19 AM
(07-27-2016, 05:29 PM)Kyogre Wrote: KHg8m3r, I'm starting to think ADD functions like it would in Boolean Algebra (0 + 0 = 0, 1 + 0 = 1, 0 + 1 = 1, 1 + 1 = 1, basically OR)
AMD Ryzen 7 3700X @ 4.2 GHz | MSI GTX 1070TI 8GB | 32 GB DDR4 @ 3000 MHz | Windows 10 Pro x64 | Dolphin 5.0-10886
I was thinking the OR was an exclusive OR.
Here is the official explanation: https://wiki.dolphin-emu.org/index.php?t...put_Syntax Looks like its not documented what the difference is (at least in the wiki) |
« Next Oldest | Next Newest »
|
Users browsing this thread: 1 Guest(s)