Git Product home page Git Product logo

pypsvr's Introduction

pyPSVR

Python scripts for control and interaction with the Playstation PSVR
Supports both Linux and Windows, with Python 3 or 2 (using 'six' module).
Windows requires 'libusb' to be installed and the driver applied to the whole composite device.\

Example usage:\

D:>python pyPSVR.py --help\

  1. usage: pyPSVR.py [-h] [-S] [-o] [-O] [-v] [-c] [-l] [-L LEDVAL] [-N LEDNUM]
    - [-s SIZE] [-d DIST] [-m MIST] [-b BRIGHT] [-H HDMI] [-k] [-r]
    - [-i] [-C] [-G REG] [-R]\

  2. optional arguments:
    -h, --help show this help message and exit
    -S, --shutdown Shutdown the PSVR
    -o, --on Turn the PSVR on
    -O, --off Turn the PSVR off
    -v, --vrmode Turn on VR mode
    -c, --cinemode Turn on Cinematic mode
    -l, --leds Turn on the LEDs
    -L LEDVAL, --ledval LEDVAL
    Set brightness values for the LEDs
    -N LEDNUM, --lednum LEDNUM
    Set brightness only for specific LED
    -s SIZE, --size SIZE Set the size of the Cinematic screen
    -d DIST, --dist DIST Set the distance of the Cinematic screen
    -m MIST, --mist MIST Set the mistery of the Cinematic screen
    -b BRIGHT, --bright BRIGHT
    Set the brightness of the screen
    -H HDMI, --hdmi HDMI Set the HDMI resolution of Social-Screen
    -k, --lock Lock the Cinematic screen in position
    -r, --recenter Recenter the screen in Cinematic Mode
    -i, --id Request serial and revision
    -C, --cal Request calibration data
    -G REG, --reg REG Request register data
    -R, --read After writing command, listen for responses\

Switching to VR mode with the LEDs enabled (on Linux): $ sudo python pyPSVR.py -v -l
Detaching: 5
Re-attaching: 5\

pypsvr's People

Contributors

mungewell avatar deathdealer33 avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.