Update controller-autoconfiguration.md -- The `android`, `udev`, and `sdl2` drivers can use either the Device Index (`input_device`) or a combination of Vendor ID (`input_vendor_id`) and Product ID (`input_product_id`) -- Thanks zoltanvb!
Different controller drivers use these identifiers in various ways. For instance, the `android`, and `sdl2` driver utilizes both the Vendor ID and Product ID, while the `linuxraw` and `udev` drivers rely on the Device Index.
Different controller drivers use these identifiers in various ways. For instance, the SDL2 driver utilizes both the Vendor ID and Product ID, while the linuxraw and udev drivers rely on the Device Index.
While investigating other issues it was observed that several
sets of images in the repository were larger than they needed
to be. This commit corrects that oversight with only lossless
methods, yielding just under an average of a 50% reduction in
file size. Also several cruft files such as text editor backups
and .DS_Store files were removed as encountered.
Signed-off-by: Peter J. Mello <admin@petermello.net>
The enhancements to the Content Security Policy and sandboxing
introduced in commit a746567c ultimately prevented the embedded
YouTube video from launching. This commit makes the allow lists
more explicit about safe domains and adds 'allow-same-origin'
and 'allow-scripts' to the sandbox permissions. Also the nested
sublist blocks needed to be indented by multiples of 4 spaces
and not aligned with the first line as needed by other popular
Markdown parsers.
Signed-off-by: Peter J. Mello <admin@petermello.net>
This commit changes several configuration options for MkDocs
that were originally made in an effort to debug the unexpected
rendering of install-gnu.md following commit a746567c. In summary, those are:
- Remove deprecated Python Markdown extension nl2br.
- Switch from client-side syntax highlighting via JavaScript
to using Pygments at build time to bake the highlighting into
the generated output. This had the benefit of much better
determinism and cost only an extra minute added to the build.
- Remove deprecated CodeHilite extension in favor recommended
Highlight and InlineHilite extensions.
Ultimately, the documentation site loads more quickly and has
greater simplicity, which seemed worth the ~50% increase in
time to generate.
Signed-off-by: Peter J. Mello <admin@petermello.net>
4. **Important: Remove Previously Set Manual Bindings**: Manual bindings take precedence over autoconfig files, so it's crucial to remove them if you've previously used the Save Controller Profile command. To do this, navigate to Settings -> Input -> RetroPad Binds -> Port 1 Controls -> Reset to Default Controls. Failing to reset these bindings might result in outdated configurations being applied to a new controller file, especially if the new controller has fewer buttons. Additionally, if you're creating autoconfig files for various controller drivers (such as sdl2, udev, etc.), it's important to clear manual bindings. Neglecting this step could lead to incorrect responses from both the Remote RetroPad and games tested in cores.
The instructions for installation on Linux systems
employed command syntax that is now deprecated and
often failed to provide natural contextual links
to external sources of information that covers
more complex tasks in greater detail. This commit
corrects those issues, along with the following:
- Add parameters to HTML `iframe` tag that handle
- Safely embedding external content
(`allow`, `referrerpolicy`, `sandbox`)
- Web accessibility "a11y" best practices
(`aria-label`, `name`, `role`, `title`)
- Graceful handling of network constraints
(`loading`)
- Convert links to Markdown "reference style" for
deduplication and easier updating of targets
Signed-off-by: Peter J. Mello <admin@petermello.net>