Skip to content

Latest commit

 

History

9 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Building a camera driver from scratch - PS3 Eye Camera on Mac Silicon

I wrote a blog post about the project: building a camera driver from scratch.

PS3 Eye Camera

Steps to run the project

Clone the repo

 git clone https://github.com/madalintat/PS3Eye-Driver-MacOS-Silicon.git

Enter the repo

cd PS3Eye-Driver-MacOS-Silicon

Compile the driver

gcc -o ps3eye_test ps3eye_test.c -I/opt/homebrew/include/libusb-1.0 -L/opt/homebrew/lib -lusb-1.0

Run the driver

./ps3eye_test

Success: 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.

About

Connect the PS3 Eye camera with the new Silicon Macbooks.

Resources

Stars

5 stars

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages