Try it now (I replaced `std::exception` with `std::runtime_error`, since `exception`s with error messages are an MSVC extension). Should work this time (with a bunch of warnings still).
Hey everyone, I wrote a library (similar to @wormyrocks's library but more general purpose) for using the Switch's controllers with PCs (or any other platform it compiles on). It's written in C++ but also has a C wrapper available for C clients.
It's currently undocumented (I'm going to get on...