Philip Rideout
Philip Rideout
@nickav I don't think it's as simple as adding a line to the DB because I tried re-running the CMake generator script for the mappings header and it didn't help....
Gah, it looks like SDL includes an entire mini-driver just for the Switch: https://github.com/libsdl-org/SDL/blob/main/src/joystick/hidapi/SDL_hidapi_switch.c
@pixelflinger I would classify this as "needs to be done, but not at all high priority" (another good starter issue maybe, but keep in mind this would need to be...
Ah you're proposing adding it to a type that is _not_ extern "C"? Yes I think that could work! In fact maybe it's already supported? I can try the experiment...
The problem with using this attribute on my type definition is that a wrapper class is generated, which I'm trying to avoid. The situation mentioned by @Liamolucko can be handled...