Not able to configure controls with libmgba on linux. - Printable Version +- mGBA Forums (https://forums.mgba.io) +-- Forum: mGBA (https://forums.mgba.io/forumdisplay.php?fid=1) +--- Forum: General (https://forums.mgba.io/forumdisplay.php?fid=3) +--- Thread: Not able to configure controls with libmgba on linux. (/showthread.php?tid=5110) |
Not able to configure controls with libmgba on linux. - Nonokat - 05-30-2019 Hey, I am on Manjaro Linux and I downloaded libmgba to start mgba from command line. So far everything works well and as expected, I am able to set the size of the output window etc, but I can't seem to make changes to the controls. For example I would like to change the b key because i don't use an American keyboard. The mgba manual tells me that mgba reads the config file $XDG_CONFIG_HOME/mgba/config.in , but there is no file there and I didn't know how the configurable variables would be named. The file didĀ appear though after installing mgba-qt and with mgba-qt I was able to change the controls over the gui, but I would rather use mgba from command line without gui, because in i3wm there are window size issues. The problem is that the mgba command line version doesn't seem to read the config file at all. I already tried to use the -C flag to change the b key like so: mgba -C keyB=89, but that didn't work either. Other things like -C volume=5 worked fine. Do you have any idea, how i could change the b key? Thanks in advance! RE: Not able to configure controls with libmgba on linux. - endrift - 06-07-2019 To modify the SDL keybindings you need to put a section in the ini file called [input.SDLK] and put the modifications in there |