Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Special Characters in Controller Name #2346

Closed
mayamcdougall opened this issue Nov 4, 2015 · 2 comments
Closed

Special Characters in Controller Name #2346

mayamcdougall opened this issue Nov 4, 2015 · 2 comments

Comments

@mayamcdougall
Copy link

mayamcdougall commented Nov 4, 2015

I opened this bug already with InputStation, however RetroArch seems to suffer from the same problem. If I try to "Save Input AutoConfig" for this controller, I receive an "Error saving AutoConfig" message.

From the issue I opened for InputStation:

Recently purchased a Logitech Cordless Precision (a controller they never should have stopped making) for my Retropie. After a bit of fumbling around, I realized why my controller wasn't being picked up by Retroarch: Logitech put a "/" into the controller name.

The controller labels itself as "PS3/USBCordlessGamepad". When InputStation tries to move and rename the config file to "/opt/retropie/configs/all/retroarch-joypads/", it interprets that "/" as another directory and fails to move to the non-existent folder "PS3".

Although rare, I'm sure there could be other cases out there of controllers with special characters which would mess with this naming method. My suggestion would be to search the name string for special characters first and replace them with another character like "_" before the actual move.


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

@RobLoach
Copy link
Member

I could be wrong, but I think that it replaces the special characters now.

@orbea
Copy link
Contributor

orbea commented Jan 13, 2019

Yes, this is fixed.

input_driver = "udev"
input_device = "raphnet.net GC/N64 to USB, v2.9"
input_vendor_id = "10395"
input_product_id = "12"

Note I can't add this gamepad to the autoconfig repo because the vid/pid numbers match for both the GC and N64 controllers, but the buttons do not match...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants