Has anyone given thought to a more long-term way to handle the
current GameController DB? The problems with the current setup are
obvious:
- Can’t possibly include every controller out there
- Waiting for a new SDL release for a DB update is silly
- Unclear how to submit updates
- Recompiling SDL for each update is not realistic
I think we’re not going to get anywhere with it unless we put a file
somewhere. Actually on modern OSes, that’d be TWO files. One coming
with the library, and the other belonging to the user. Instead of
ifdefs, we could simply include an OS token with the GUID in the
file.
A configuration tool (like the one I intend to write at some point)
would need a means to write a newly configured controller’s data to
the user’s database. I’ve got some other ideas about managing such a
database file without waiting for a new SDL release, but that can
wait.
Speaking of updates, here’s one for Linux I hand-cobbled:
030000006d04000016c2000010010000,Logitech Dual Action,a:b1,b:b2,x:b0,y:b3,leftshoulder:b4,rightshoulder:b5,lefttrigger:b6,righttrigger:b7,back:b8,start:b9,leftstick:b10,rightstick:b11,leftx:a0,lefty:a1,rightx:a2,righty:a3,dpup:h0.1,dpdown:h0.4,dpleft:h0.8,dpright:h0.2
I’d offer one for Windows if I had a build system. I download did a
couple of “automatic setup of everything” packages for mingw-w64 and
MSYS, but the result was less than automatic and the instructions for
the one make assumptions about the other that aren’t true. If
someone is willing to provide a couple of pointers to setting these
up together, I’d be willing to write a basic how-to guide. (I’m even
willing to throw in setting up Code::Blocks or Eclipse into the
documentation, though I’d probably never use either myself.)
Lemme know and we can take it off list.
Joseph