I've updated the source code, but it's pretty spaghetti.
I added the ability to record and play controller input, but this requires the use of third-party drivers and libraries, and I thought it might not be acceptable to everyone, so I disabled this function, and this version of the code is incomplete.
