kenshin305 / mupen64plus

Automatically exported from code.google.com/p/mupen64plus
0 stars 0 forks source link

Improve the controller configuration by accepting several buttons #571

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Describe your system:
 - Operating System (be specific): GNU/Linux
 - Machine type (32-bit or 64-bit): 32-bits
 - Mupen64Plus version: 2.0.0
 - Plugins used: none

Describe the problem:
My controller is a XBOX 360 Pad and it has 2 triggers (called LT and RT).
The N64 Pad has only 1 trigger (called Z).
I would like to assign LT (button 6) and RT (button 7) to Z.
So I edit my mupen64plus configuration file:
~/.config/mupen64plus/mupen64plus.cfg

I can write this:
Z Trig = "button(6,7)"

Or this:
Z Trig = "button(6) button(7)"

But in both keys, only 1 button is accepted for the Z trigger.
Is there a way to accept several buttons for the Z trigger ?

Thank you.
Best regards.

Original issue reported on code.google.com by yugioh...@1s.fr on 30 Jul 2013 at 1:13

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Only input settings using pairwise different types (key, button, axis) are 
currently possible 

Original comment by s...@narfation.org on 2 Aug 2013 at 2:09

GoogleCodeExporter commented 8 years ago
OK I see.
I think it should be good to allow to use several times the same type of input 
in the configuration file for the key mapping.

Original comment by yugioh...@1s.fr on 2 Aug 2013 at 9:22

GoogleCodeExporter commented 8 years ago
Have you tried adding them on different lines? When I was editing my .cfg file 
the first time I had different buttons that would do the same thing because I 
was changing on line at a time and testing, so I would end up with lines like:

A button = "button(3)"
...
A button = "button(8)"

and they both would work, so maybe that might work out the way you want.

Original comment by hgle...@gmail.com on 18 Oct 2013 at 11:21

GoogleCodeExporter commented 8 years ago
Yes I write this in ~/.config/mupen64plus/mupen64plus.cfg:
...
Z Trig = "button(6)"
Z Trig = "button(7)"
...

Then I run the emulator:
$ mupen64plus documents/downloads/emulation/n64/roms/Super\ Mario\ 64\ \(U\)\ 
\[\!\].z64

But when I am playing, I see that only one of the buttons is assigned.
Also, if I am watching the mupen64plus.cfg file, after I launched the emulator, 
it has been modified automatically and now it contains only:
...
Z Trig = "button(6)"
...
One line has been removed.

So it does not work.

Original comment by yugioh...@1s.fr on 19 Oct 2013 at 2:03

GoogleCodeExporter commented 8 years ago
Issue 164 has been merged into this issue.

Original comment by s...@narfation.org on 18 Dec 2013 at 12:40

GoogleCodeExporter commented 8 years ago
hglez86: No, the plugin cannot store these and thus adding it to different 
lines doesn't work

Original comment by s...@narfation.org on 18 Dec 2013 at 12:41

GoogleCodeExporter commented 8 years ago
I, too, would like to be able to bind N64 controls to multiple inputs.

Original comment by mushm...@hotmail.com on 22 Mar 2015 at 7:57