"truly simple OpenXR" - Single-file header for simple OpenXR use with C, with no reliance on any other libraries (but does use/include rawdraw for context+demo) It's been tested on Windows with MSVC, TinyCC and GCC and the SteamVR Runtime. Also tested on the MetaQuest using the Android NDK (as of 2022/10/17).
This project is based on a combination of this minimal OpenXR demo (if you just want to know how to use and don't want a mini engine) https://github.com/cnlohr/openxr-minimal
Originally based on https://github.com/hyperlogic/openxrstub/blob/main/src/main.cpp