Skip to content

Commit

Permalink
Update controller-autoconfiguration.md
Browse files Browse the repository at this point in the history
improved "Understanding controller names"
  • Loading branch information
davidhedlund authored Jul 31, 2024
1 parent 4f8aa72 commit c739e65
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions docs/guides/controller-autoconfiguration.md
Original file line number Diff line number Diff line change
Expand Up @@ -164,9 +164,12 @@ In RetroArch, the management of controller configurations is essential for ensur

#### Understanding controller names

When you configure a controller in RetroArch, you can save its profile through the following path:
**Settings > Input > RetroPad Binds > Port 1 Controls > Save Controller Profile**.
This action generates a configuration file (e.g., "udev/Foo.cfg") that includes an `input_device` entry reflecting the controller's name (e.g., `input_device = Foo`). Notably, this name remains consistent across different controller drivers, including udev, sdl2, and linuxraw, as defined in **Settings > Drivers > Controller**.
When you save a controller profile (**Settings > Input > RetroPad Binds > Port 1 Controls > Save Controller Profile**), RetroArch generates a controller name (e.g., "Foo"). This name serves two purposes:

1. It becomes part of the configuration file name (e.g., "udev/Foo.cfg").
2. It's used as the value for the `input_device` variable within the configuration file (e.g., `input_device = "Foo"`).

Importantly, this name remains consistent across various controller drivers, such as udev, sdl2, and linuxraw, as specified in **Settings > Drivers > Controller**.

#### Variability of controller names

Expand Down

0 comments on commit c739e65

Please sign in to comment.