Retroarch input settings are ignored, keys are always mapped to keyboard on the back of the remote
-
First of all, because I don't think it is very common, this is the remote I have: https://img14.360buyimg.com/n0/jfs/t17653/302/1545494120/576648/935370be/5acdb68bN076d5bfe.png. As you can see, on the back of the multimedia remote, there is small keyboard. I never had any intention of using this mini-keyboard on Retropie, and I have never configured it as a controller.
Ever since I started using this remote I was was never able to use my controller normally again, no matter what I do, on all Retroarch emulators only the d-pad works, all other keys seem to have been remapped to the mini-keyboard. E.g., on most games when when the title menu shows I can choose the options with the d-pad on the controller but the start button doesn't work, I have to press the return key on the mini-keyboard to start the game. This is true of every game on every Retroarch emulator, even though when any game starts it shows something to the effect of "S660 Gamepad detected" on the screen, my controller's name.
On Emulationstation the controller works fine, it is detected, I can configure it and all buttons work.
I have tried everything I read on this forum I thought could help: I deleted the Emulationstation settings so it would regenerate, deleted all autoconfig files (there was only one, for the one controller I have) and restarted Emulationstation with the remote turned off. It didn't work. I hardcoded the keymapping on the general retroarch.cfg. It didn't work. I have also commented out any keyboard mappings from retroarch.cfg. Nothing worked, I always need to turn on the remote to be able use any key other than the d-pad.
I confirmed with jstest the controller is correctly recognized as /dev/input/js0 and there is no other joystick detected.
The input section of my /opt/retropie/configs/all/retroarch.cfg:
https://paste.ubuntu.com/p/5zcT5dPSBK/osmc@osmc-machine:~$ ls /opt/retropie/configs/all/retroarch/autoconfig S660 Gamepad.cfg S660 Gamepad.cfg.bak
S660 Gamepad.cfg:
input_device = "S660 Gamepad" input_driver = "udev" input_r_y_plus_axis = "+3" 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_r_y_minus_axis = "-3" input_down_btn = "h0down" input_l_x_plus_axis = "+0" input_r_btn = "7" input_save_state_btn = "7" input_right_btn = "h0right" input_state_slot_increase_btn = "h0right" input_select_btn = "10" input_left_btn = "h0left" input_state_slot_decrease_btn = "h0left" input_l2_btn = "8" input_l3_btn = "13" input_l_y_minus_axis = "-1" input_up_btn = "h0up" input_a_btn = "1" input_b_btn = "0" input_reset_btn = "0" input_enable_hotkey_btn = "10" input_l_y_plus_axis = "+1" input_r2_btn = "9" input_r3_btn = "14" input_x_btn = "4" input_menu_toggle_btn = "4" input_l_x_minus_axis = "-0" input_y_btn = "3" input_r_x_plus_axis = "+2"
osmc@osmc-machine:~$ jstest /dev/input/js0 Driver version is 2.1.0. Joystick (S660 Gamepad) has 6 axes (X, Y, Z, Rz, Hat0X, Hat0Y) and 20 buttons (BtnA, BtnB, BtnC, BtnX, BtnY, BtnZ, BtnTL, BtnTR, BtnTL2, BtnTR2, BtnSelect, BtnStart, BtnMode, BtnThumbL, BtnThumbR, ?, (null), LeftBtn, RightBtn, MiddleBtn).
osmc@osmc-machine:~$ jstest /dev/input/js1 jstest: No such file or directory
Retropie is updated and running on OSMC Leia (Beta) on a Raspberry Pi 3. I hope you will be able to help me use it again.
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.