Stick and D pad control 2D games
-
I am using a game pad which has a layout very similar to Xbox. When playing 2D games I am able to use the D pad to move as expected. When the left stick is moved, it is possible to move game sprites around, but only left and right. Should I be able to have player control using both D pad and stick?
I have posted the stick and D pad sections of my controller config below:
input_driver = "udev"
input_up_btn = "h0up"
input_down_btn = "h0down"
input_left_btn = "h0left"
input_right_btn = "h0right"input_l_x_plus_axis = "+0"
input_l_x_minus_axis = "-0"
input_l_y_plus_axis = "+1"
input_l_y_minus_axis = "-1" -
@vretro open up your individual retroarch.cfg files in your individual folders in /opt/retropie/configs/ except in the folders "all", "psx", and "psp" and post this above the #include... line:
input_player1_up_axis = "-1" input_player1_down_axis = "+1" input_player1_left_axis = "-0" input_player1_right_axis = "+0" input_player2_up_axis = "-1" input_player2_down_axis = "+1" input_player2_left_axis = "-0" input_player2_right_axis = "+0"
-
Thanks @edmaul69 that worked perfectly!
-
@vretro your welcome.
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.