Just over a week ago we reported on PSVR Part I of Reverse-Engineering Sony's PlayStation VR, and now adawarp followed up with a C library for Morpheus (PlayStation VR) called LibPSVR for PS4 developers!
Download: libpsvr-master.zip / GIT
From the README.md: LibPSVR
C library for Morpheus (Playstation VR). Tested with Ubuntu 15.10 + libusb-1.0.20.
Build
Example
OS X (El Capitan)
For quick start, use brew before build.
You will need to unload kernel modules manually.
Download: libpsvr-master.zip / GIT
From the README.md: LibPSVR
C library for Morpheus (Playstation VR). Tested with Ubuntu 15.10 + libusb-1.0.20.
Build
Code:
$ ./build.sh
Code:
$ gcc example.c -I/path_to_psvr_h -L/path_to_libpsvr_so -lpsvr
For quick start, use brew before build.
Code:
$ brew install pkg-config libusb
Code:
$ sudo kextunload -b com.apple.driver.usb.IOUSBHostHIDDevice