På tirsdag 20. oktober 2026 kl. 01:20, skrev Thomas Frohwein
<[email protected]>:

> Hi,
>
> I would like to add this useful tool to ports. With the new momentum
> for games on OpenBD, I could use this for game controller-related bug
> reports and also to debug the SDL{2,3} gamecontroller mapping issues
> that, while small, still persist.
>
> In my case and to illustrate the usefulness, using a Logitech F310
> gamepad, buttons 8, 9 & 10 which should correspond to pressing the
> analog sticks and the guide button are mis-mapped.
>
> sdl2-gamepad-tool shows a visual representation of which buttons it
> received, and it can create a new mapping string, asking the user to
> press each button in sequence. It can then offer a new controller
> mapping string that can be plugged into SDL_GAMECONTROLLERCONFIG
> environment variable to work around wrong or undesired button/axis
> mappings.
>
> ok?
>

Built/tested on current/amd64 with privsep.

Ran on sway natively, but don't have a controller on hand to check full
functionality. Though I guess I have an excuse to buy a new one or
get an USB adapter for GameCube contollers or Wiimote puck.

Could RunBSD or OpenBSD be added to the supported platforms in DESCR?

No typo, grammar, or spacing nits.

Checks had no issues, and tests:

100% tests passed, 0 tests failed out of 6
--

Looks fine to me. 

Hope this helps. May you all have a good one and stay hydrated.
--
yaydn

Reply via email to