mGBA Forums

Full Version: Config file?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello there,

I'm using mgba-sdl on Arch Linux, and was wondering if you could provide a detailed configuration file, in order to allow us to change keyboard mapping for example.

Also, having a key to quit the emulator would be nice: launching mgba in fullscreen will lead to a painful experience when you want to quit...
Alt-F4 or whatever your window manager does to send a quit event will quit the emulator.

As for key mappings and other config stuff, that's a bit more detailed...it would look something like this:

Code:
[input.SDLK]
keyL=[...]
keyR=[...]
keyStart=[...]
keyDown=[...]
keyLeft=[...]
keyB=[...]
keyUp=[...]
keyA=[...]
keyRight=[...]
keySelect=[...]

Where each [...] is an SDL scancode.
Thank you for your answer, that's kind of what I thought.

But still, a complete config file in the tarball would be nice, in order for the user to know how to configure rewinding, key mapping, and everything else, in case we do not use the GUI...

Plus, isn't the keymapping using SDL keycode instead of scancode?