Wrong button on Amiga emulator
-
@chris3535 you are on the right path! :) Have a closer look here: https://github.com/midwan/amiberry/wiki/Setting-up-Input-Controllers
-
@sirhenrythe5th Thanks mate i have read that but still a bit confused ! :-(
So if i put SD card in pc and navigate to /opt/retropie/configs/all/retroarch/autoconfig
What will i see there that i need to make a copy off (sorry i am at work at moment otherwise id have checked first)
When i find the right file i make a copy then store it somewhere else (probably where you suggested atually)
Then i can open up this copy with a text editor and change the relevant setting so the left button works on joystick and not right one)
Then save the file.
Then open amiberry and go to paths and then direct it to the copy file i have just amended?
Does all this sound correct so far?
If so...when i open up the copy cfg file, what do i need to edit to make the left button work and not the right one?
Thank you for helping us with this by the way :-)
-
@chris3535 way too complicated ;)
I dont have a PC at all since 2007, so i only use the pi itself or my smartphone via local network.What i used for the amiberry input-mapping was only the Pi itself - in fact i used the "Midnight Commander" (just go to the terminal by pressing "F4" in ES and type "mc")
It is a great tool similar to the good old "Norton Commander" (MS-DOS) with the ability to sort and modify files directly with the Pi.After opening the MC i created a new folder "AMIBERRY Inputs" in "/home/pi/" and copied the original configuration-file in there.
After that i used the "sudo nano"-command and remapped the buttons within this configuration. (i.e. "Button 0=B", "Button 1=A". btw: the orginal Amigas had only support for one button; the second is a feature by AMIBERRY).
Just saved that new config by pressing "CMD" + "X" and confirmed overwriting of the file with "Y".Last step was to open the Amiberry GUI and rescan the paths as described above.
Worked like a charm and still does :)
-
@sirhenrythe5th ok..lol think i am getting there..just one little thing that confuses me.
When you say you used the "sudo nano" command what do you mean?
-
@sirhenrythe5th ahh do you mean open terminal and type in sudo nano followed by the path where the file is?
So in your example you typed:
sudo nano /home/pi/amiberry inputs/
is this correct?
-
@chris3535 this is the command used to open and modify a file within Raspbian/Linux.
What you can do to make it a bit easier:
open MC -> navigate to the file you want to modify -> press "F2" to open the on screen menu -> navigate to "do something with the file" -> and type "sudo nano" ;) -
@sirhenrythe5th Brilliant, thank you so much for your help and patience !
I will do this tonight but i have my head round it now thanks to your instructions !!
-
@chris3535 you are welcome Chris!
I was also very annoyed by the default button mapping and was glad to find this way to get it sorted.
Feel free to ask again if you get stuck ;) -
@sirhenrythe5th Thank you i will!
i have another kinda issue but ill open a new thread for that later if i cant sort it.
Basically some games (wings for example) seems to map itself to the mouse (i have a pi400) and i have not been able to make it work with the joystick yet. I had a quick play with the settings last night and i assume its something to do with the controls section in amiberry but couldn't get it to work, however i didn't spend that much time and will mess about tonight before bothering anyone on here .
Thanks again !!
-
@sirhenrythe5th Sorry to bother you again, so I have made a amiberry folder and copied the config file over into it.
I am in the config file now and I see the following
Input_start_btn = "1"
Input_exit_emulator_btn = "1"
input_b_btn = "0"
input_reset_btn = "0"
input_a_btn = "3"which one do I change? and to what?
-
@chris3535
The Fire-Buttons are "input_b_btn="0"" & "input_a_btn="3"".
These two have to be changed to fit with your button layout (i use 8BitDOs, so my layout wont help you).
Try & Error will help too :), just try the button numbers until it is as you like. -
@sirhenrythe5th ahh my apologies mate I thought you had same joystick as me.. I'll have a fiddle with it tonight
-
@sirhenrythe5th worked like a charm thank you :-)
-
@chris3535 Great!, thanks for feedback :)
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.