Re: devel/sdl2: enable real GUID-based controller mapping

2021-01-22 Thread Bryan Steele
On Thu, Jan 21, 2021 at 12:05:59PM -0700, Thomas Frohwein wrote: > On Sat, Jan 09, 2021 at 10:46:17AM -0700, Thomas Frohwein wrote: > > Hi, > > > > The next stepping stone in my project to improve out-of-the-box > > gamecontroller support. > > Haven't gotten much feedback since I sent this out.

Re: devel/sdl2: enable real GUID-based controller mapping

2021-01-21 Thread Thomas Frohwein
On Sat, Jan 09, 2021 at 10:46:17AM -0700, Thomas Frohwein wrote: > Hi, > > The next stepping stone in my project to improve out-of-the-box > gamecontroller support. Haven't gotten much feedback since I sent this out. Below is a slightly adjusted diff that generates the GUID in BSD_JoystickOpen

devel/sdl2: enable real GUID-based controller mapping

2021-01-09 Thread Thomas Frohwein
Hi, The next stepping stone in my project to improve out-of-the-box gamecontroller support. Background: On other platforms (Linux, MacOSX), SDL2 uses a GUID for gamecontrollers combined with a database [1] to provide the default button/axis mappings. This hasn't worked on OpenBSD (or apparently