Skip to content

autodetect: enhance Bliss-Box pad type detection and updated pad types.#19231

Open
Rendman wants to merge 2 commits into
libretro:masterfrom
Rendman:blissbox-linux-fixes-updates
Open

autodetect: enhance Bliss-Box pad type detection and updated pad types.#19231
Rendman wants to merge 2 commits into
libretro:masterfrom
Rendman:blissbox-linux-fixes-updates

Conversation

@Rendman

@Rendman Rendman commented Jul 19, 2026

Copy link
Copy Markdown

Description

This PR improves Bliss-Box autodetection and hardens Linux logging initialization.

Adds a Linux HIDRAW-based Bliss-Box probe path for pad type resolution before falling back to libusb. This prevents issues with libusb and kernel driver fighting. This also maintains the libusb code for platforms that need it, but make the Bliss Box devices much more usable on modern Linux based systems.

Updates Bliss-Box pad-type ID mapping in tasks/task_autodetect_blissbox.c to align with the documented Bliss-Box type IDs. (From the official test application source)

Adds a small C89 safety fix in verbosity.c by zero-initializing log_directory in rarch_log_file_init to avoid stack garbage being used when --log-file is a bare filename.

Related Issues

Fixes: #17415
Potentially fixes: #8476 (update... it does not)

Related Pull Requests

None Known.

Reviewers

logging: fixed an issue with null values creating spurious file system garbage.
@Rendman

Rendman commented Jul 19, 2026

Copy link
Copy Markdown
Author

Additionally the hidraw path will require a udev rule to set the correct permissions.

@hizzlekizzle

Copy link
Copy Markdown
Collaborator

This sounds like a great improvement. Thanks for taking it on!

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature Request] Support for Bliss Box API on Linux [input] Detection issues with the bliss-box

2 participants