Re: [mupen64plus] Change keyboard configuration

665 views
Skip to first unread message

Richard Goedeken

unread,
Feb 18, 2013, 1:31:34 PM2/18/13
to mupen...@googlegroups.com
Sorry, but the only 2 hard-coded key commands are Alt-Enter for fullscreen and
the 0-9 keys for savestate slot selection. The only way to change this is to
modify the code (src/main/eventloop.c in the core) and recompile.

Richard

On 02/18/2013 03:02 AM, banquet wrote:
> Hi,
> I would like to set controller 1 start to the 1 button on the keyboard.
> my mupen64plus.cfg has this:
>
> [Input-SDL-Control1]
>
> plugged= True
> plugin= 2
> mouse= False
> name= "Keyboard"
> device= -2
> Start = "key(49)"
>
> as SDLK_1 = 49.
> However this does not work as 1 still selects save slot 1.
> Is there anyway to disable the built in hotkeys such as 1-9 so that I can use
> them for the controller?
>

William Shipley

unread,
Feb 18, 2013, 1:48:46 PM2/18/13
to mupen...@googlegroups.com
May I recommend instead the tilde key? That one should be unassigned.



--
You received this message because you are subscribed to the Google Groups "mupen64plus" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mupen64plus+unsubscribe@googlegroups.com.
To post to this group, send email to mupen...@googlegroups.com.
Visit this group at http://groups.google.com/group/mupen64plus?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.



Richard Goedeken

unread,
Feb 20, 2013, 2:41:38 AM2/20/13
to mupen...@googlegroups.com
This should work; removing these key bindings in your config file will cause
the core event loop to ignore these key presses and pass them to the input plugin.

To change the hard-coded 0-9 savestate slot key bindings, look at the function
event_sdl_keydown() in eventloop.c.

Richard

On 02/18/2013 01:48 PM, brenda...@gmail.com wrote:
> Thanks for the help,
>
> I have an arcade game controller where player 1 and 2 start are keys 1 and 2
> respectively. I could remap the controller keys but then I would have to
> change the keybindings in every other emulator I use. I might have a look at
> modifying src/main/eventloop.c.
>
> To be able to use other keys such as G, M, P and F, I have changed lines in
> the core settings to have:
> Kbd Mapping Gameshark = ""
> Kbd Mapping Fast Forward = ""
> Kbd Mapping Pause = ""
> Kbd Mapping Mute = ""
>
> Should this work?
>

ddug...@gmail.com

unread,
Jul 26, 2015, 9:37:38 AM7/26/15
to mupen64plus, Ric...@fascinationsoftware.com
I've got one for ya! How would i go about requiring multiple inputs from a 360 controller to create one output? That is to say: how do I use a button as a modifier?

I want to use the RT (axis 5) as a modifier to use the face buttons as c buttons. RT + Y = c up, RT + X = c left, and so forth. But NOT each button individually, only when BOTH are pressed does it output c up, c down, etc.

I know there is something in this engine that uses multiple inputs because the fullscreen key combo of alt-enter.

I've been trying every syntax for && that I know of and can't figure out how to edit this .ini to get it to work. Any thoughts? Am I crazy? Thanks in advance!
Reply all
Reply to author
Forward
0 new messages