usb trackball & spinner mouse index issue
-
Both work fine, but for games that use the spinner I need to enter the in game retroarch menu,enter the input player binds from 0 to 2 then return to the game. Ive tried to save the user config but it never saves. Is there a way to save that setting or tell retroarch to use a certain mouse index for certain games. I see some topics that touch on this but never a clear explanation how to solve it.
-
@ESMITH1120 Have you used the Core input remapping for your game to override the input settings on a per-game basis ?
-
@mitu
I go into the in game retroarch menu, change the input from 0 to 2, I hit save game remap then exit. It works , but when I exit the game & reenter the input index is not saved. -
@ESMITH1120 You're right, this isn't saved with the Core input remapping. I've tested a few other options and I didn't find the right RA override to save this per-game.
However, you can use the mechanism implemented by RetroPie (https://retropie.org.uk/docs/RetroArch-Configuration/#custom-retroarch-override-examples) and create aROM_full_name.cfg
file alongside the ROM containing the configuration you need, i.e.input_player1_mouse_index = 1
where
1
is the mouse index that's suited for the game. If you have the same index for all games in a system(arcade, fba, etc), then you can add this configuration in the system's configuration file (/opt/retropie/configs/arcade/retroarch.cfg
, etc.) as detailed in the link above. -
Apologies for "threadus ressurectus," but it seems more appropriate to ask this in context rather than start a new thread for it.
@mitu said in usb trackball & spinner mouse index issue:
However, you can use the mechanism implemented by RetroPie (https://retropie.org.uk/docs/RetroArch-Configuration/#custom-retroarch-override-examples) and create a
ROM_full_name.cfg
file alongside the ROM containing the configuration you need, i.e.input_player1_mouse_index = 1
where
1
is the mouse index that's suited for the game.From what I had seen in RetroArch configuration files, I thought you needed an include statement, to make sure the original config is included, like:
input_player1_mouse_index = 1 #include /opt/retropie/configs/all/retroarch.cfg
Or if you have a core file, it might be:
#include /opt/retropie/configs/mame-libretro/retroarch.cfg
When is the
include
needed and not needed? (They use it in some examples in the link you provide, but not in others.) -
@Tango said in usb trackball & spinner mouse index issue:
When is the include needed and not needed? (They use it in some examples in the link you provide, but not in others.)
It's not needed in a ROM config file.
-
@mitu said in usb trackball & spinner mouse index issue:
@Tango said in usb trackball & spinner mouse index issue:
When is the include needed and not needed? (They use it in some examples in the link you provide, but not in others.)
It's not needed in a ROM config file.
Thanks!
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.