I wrote a blog post about the project: building a camera driver from scratch.
git clone https://github.com/madalintat/PS3Eye-Driver-MacOS-Silicon.gitcd PS3Eye-Driver-MacOS-Silicongcc -o ps3eye_test ps3eye_test.c -I/opt/homebrew/Cellar/libusb/1.0.27/include/libusb-1.0 -L/opt/homebrew/Cellar/libusb/1.0.27/lib -lusb-1.0./ps3eye_testSuccess: Prints device info, "Camera initialized...", and "Camera test successful!" then exits cleanly.
Failure: Prints an error message at any step (e.g., device not found, permission denied) and exits with return 1.
Disclaimer: the driver creates the connection between the PS3 Eye camera and the Macbook device. Capturing video is a different job, but it's part of my upcoming project. Follow my website for updates.