Homepage › Forums › RetroPie Project › Everything else related to the RetroPie Project › Mapping different controller setups in Retroarch…
- This topic has 3 replies, 3 voices, and was last updated 10 years, 7 months ago by matt34122. 
- 
		AuthorPosts
- 
		
			
				
03/11/2015 at 04:43 #90947vitaminbillwebb ParticipantI’ve got the system up and running, and I’m using a USB SNES controller. I’d like to set Retroarch up so that it maps GB/GBC/NES games in such a way that the Y and B buttons function as B and A buttons, while leaving the controls as they are by default in SNES games. Can this be done? How? 03/11/2015 at 05:28 #90955herbfargus MemberI was just looking at this today- for GB, GBC, and NES, you’ll add your controls to the retroarch.cfg file in opt/retropie/configs/GB and opt/retropie/configs/GBC 
 opt/retropie/configs/nesThis video can give you an idea of what to do: 
 
 You can also check out floobs videos as he has a lot more experience than I do
 http://youtube.com/channel/UCdSu9Y0xAyY8V77vj6mQ-0g03/14/2015 at 19:35 #91328matt34122 ParticipantI’ve been having the same issue. I also switch the buttons on my PS3 controller for GB and NES like you do. In both /opt/retropie/configs/nes/retroarch.cfg and /opt/retropie/configs/gb/retroarch.cfg I add the following lines. These two lines are the only edits I made to those files. 
 input_player1_a_btn = “14”
 input_player1_b_btn = “15”In my /opt/retropie/configs/all/retroarch.cfg those buttons are assigned as follows: 
 input_player1_b_btn = “14”
 input_player1_a_btn = “13”But for some reason it doesn’t pick up the new button remappings. Any ideas? 
 I recently upgraded to 2.6 on a RPI2, but I never had this problem in 2.5/RPI1 B+.03/16/2015 at 19:30 #91616matt34122 ParticipantFor others with the same problem – I found a workaround – but not ideal – solution. No idea if this was introduced in 2.6 or not. For some reason, those retroarch.cfg files in individual system’s folders don’t seem to be pulling in any additional input lines. All of the other lines seemed to be working fine. I was able to get the secondary configs working by calling them with the –appendconfig command line switch. You have to change the command line in order to do this. For GB it was in the es_systems.cfg file; and for NES it was in the emulators.cfg file I believe. I also had to remove the #include line at the beginning of these individual config files. For example: 
 OLD:
 /opt/retropie/supplementary/runcommand/runcommand.sh 0 “/opt/retropie/emulators/retroarch/bin/retroarch -L /opt/retropie/libretrocores/neslibretro/fceumm_libretro.so –config /opt/retropie/configs/nes/retroarch.cfg %ROM%”NEW: 
 /opt/retropie/supplementary/runcommand/runcommand.sh 0 “/opt/retropie/emulators/retroarch/bin/retroarch -L /opt/retropie/libretrocores/neslibretro/fceumm_libretro.so –config /opt/retropie/configs/all/retroarch.cfg –appendconfig /opt/retropie/configs/nes/retroarch.cfg %ROM%”
- 
		AuthorPosts
- The forum ‘Everything else related to the RetroPie Project’ is closed to new topics and replies.