Project

General

Profile

Actions

Emulator Issues #9665

closed

Evdev: Extra spaces in controller names result in game not seeing the controller

Added by phire over 8 years ago. Updated over 8 years ago.

Status:
Fixed
Priority:
Normal
Assignee:
-
% Done:

0%

Operating system:
Linux
Issue type:
Bug
Milestone:
Regression:
Yes
Relates to usability:
No
Relates to performance:
No
Easy:
No
Relates to maintainability:
No
Regression start:
4.0-6951
Fixed in:
5.0-170

Description

Game Name?

All

What's the problem? Describe what went wrong.

If your controller has a string like "DragonRise Inc. Generic USB Joystick " (note the extra spaces on the end) then you can configure it, but not use it in a game.

What steps will reproduce the problem?

  1. Have a controller that reports a name with extra spaces at the end
  2. Configure that controller in controller settings
  3. Notice that the controller works in controller settings.
  4. Launch a game.
  5. Notice that the controller doesn't work inside the game.

Is there any other relevant information? (e.g. logs, screenshots,
configuration files)

This bug affects all backends, but only evdev allows enough customizability in the name that we have seen a bug report.

This is a regression from 4.0, because the old SDL backend didn't show the proper name.


Related issues 1 (0 open1 closed)

Has duplicate Emulator - Emulator Issues #9663: Controls on gamepad totally don't work in game, but succesfuly configuredDuplicate

Actions
Actions

Also available in: Atom PDF