The same content updated with more explanation and showing how it's done. Twitch stream style.
https://www.youtube.com/playlist?list=PLjwOF_LvxhqTXVUdWZJEVZxEUG5qt8fsA
Control an Object
https://github.com/PeterLemon/N64/tree/master/Input/RDP
Lesson 8 | Lesson 10