Should have done it in C++ with SDL3.