Input split across controllers
-
Hey everyone,
I've got a cheap Bluetooth controller (Gen Game S5). It is paired correctly, udev is set, etc. I also have a Microsoft wireless USB keyboard that I use for the menus, config, etc.
It works great in the RetroPie menus, and I've set the libreto options to see it as Controller 1. I launch a game, it recognizes the controller, and ingame the D-Pad works great. But none of the other inputs work. The USB keyboard that was recognized as Controller 2, or even not set as a controller in the libreto configuration, does, however, work. So I'm in a situation where both the Bluetooth controller and the keyboard are awkwardly sharing custody.
Has anyone else encountered this or something similar? Is this because USB is recognized before Bluetooth, and no matter how I set it in libreto or configure it in retroarch or from the RetroPie menus it'll just always use the USB keyboard as controller 1?
-
Does anyone have any suggestions as to what configs to look at for clues? The config for the controller itself at configs\all\retroarch-joypads looks fine:
input_device = "GEN GAME S5"
input_driver = "udev"
input_r_y_plus_axis = "+3"
input_l3_btn = "13"
input_r_x_minus_axis = "-2"
input_l_btn = "6"
input_load_state_btn = "6"
input_start_btn = "11"
input_exit_emulator_btn = "11"
input_l_y_minus_axis = "-1"
input_up_btn = "h0up"
input_r_y_minus_axis = "-3"
input_a_btn = "0"
input_b_btn = "1"
input_reset_btn = "1"
input_down_btn = "h0down"
input_l_x_plus_axis = "+0"
input_l_y_plus_axis = "+1"
input_r_btn = "7"
input_save_state_btn = "7"
input_r2_btn = "9"
input_r3_btn = "14"
input_right_btn = "h0right"
input_state_slot_increase_btn = "h0right"
input_x_btn = "3"
input_menu_toggle_btn = "3"
input_select_btn = "10"
input_enable_hotkey_btn = "10"
input_l_x_minus_axis = "-0"
input_y_btn = "4"
input_left_btn = "h0left"
input_state_slot_decrease_btn = "h0left"
input_r_x_plus_axis = "+2"
input_l2_btn = "8"Emulationstation config looks similar, and includes the keyboard, I guess?
<?xml version="1.0"?>
<inputList>
<inputAction type="onfinish">
<command>/opt/retropie/supplementary/emulationstation/scripts/inputconfiguration.sh</command>
</inputAction>
<inputConfig type="keyboard" deviceName="Keyboard" deviceGUID="-1">
<input name="pageup" type="key" id="1073741901" value="1"/>
<input name="start" type="key" id="13" value="1"/>
<input name="up" type="key" id="119" value="1"/>
<input name="a" type="key" id="1073741913" value="1"/>
<input name="b" type="key" id="1073741914" value="1"/>
<input name="down" type="key" id="115" value="1"/>
<input name="pagedown" type="key" id="1073741902" value="1"/>
<input name="right" type="key" id="100" value="1"/>
<input name="x" type="key" id="1073741916" value="1"/>
<input name="select" type="key" id="1073742053" value="1"/>
<input name="y" type="key" id="1073741917" value="1"/>
<input name="left" type="key" id="97" value="1"/>
</inputConfig>
<inputConfig type="joystick" deviceName="GEN GAME S5" deviceGUID="0500000049190000020400001b010000">
<input name="pageup" type="button" id="6" value="1"/>
<input name="start" type="button" id="11" value="1"/>
<input name="up" type="hat" id="0" value="1"/>
<input name="a" type="button" id="0" value="1"/>
<input name="b" type="button" id="1" value="1"/>
<input name="down" type="hat" id="0" value="4"/>
<input name="pagedown" type="button" id="7" value="1"/>
<input name="right" type="hat" id="0" value="2"/>
<input name="x" type="button" id="3" value="1"/>
<input name="select" type="button" id="10" value="1"/>
<input name="y" type="button" id="4" value="1"/>
<input name="left" type="hat" id="0" value="8"/>
</inputConfig>
</inputList> -
@lovemakeshare try to follow these steps I'm talking here:
-
@meleu Hey, thank you for the steps! The problem as described in that other thread certainly sounds like what's happening with me.
This doesn't seem to solve my problem, unfortunately. Something I did notice - in the RetroArch config file, after I set the Bluetooth controller up as Player 2, it still gives me this:
input_player2_b = "nul"
input_player2_b_btn = "nul"
input_player2_b_axis = "nul"
input_player2_y = "nul"
input_player2_y_btn = "nul"
input_player2_y_axis = "nul"
input_player2_select = "nul"
input_player2_select_btn = "nul"
input_player2_select_axis = "nul"
input_player2_start = "nul"
input_player2_start_btn = "nul"
input_player2_start_axis = "nul"
input_player2_up = "nul"It also still gives me the same problem if I set the Bluetooth controller as player 1 and then manually edit the input_player1_ button variables to represent the buttons on the Bluetooth controller. Nothing changes.
I wonder if a fresh RetroPie install and configuring via RGUI is necessary, like the last guy did. Any thoughts?
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.