# core/ — OS-agnostic virtual Kinect engine Pure, cross-platform C/C++ that compiles and unit-tests off-Windows. No OS-specific USB or Win32 code lives here; the thin per-OS layers live under `attach/` and `fallback/`. | Subdir | Role (filled by plan todo) | | --- | --- | | `contract/` | Frozen, versioned IPC frame + control schema shared by C++ core and Python tracker (todo 2). | | `mapping/` | NUI depth<->skeleton intrinsics, MediaPipe-33 -> Kinect-20 joint map, Holt smoothing (todo 6). | | `synth/` | Packed depth + player-index + color rasterizer from mask + 3D pose (todo 7). | | `protocol/` | Kinect v1 virtual USB device emitter — descriptors, control transfers, iso/bulk framing (todo 8). | Built into the `libnui_core` static library (see top-level `CMakeLists.txt`). Current contents are compile/link placeholders; real logic arrives in the todos noted above.