Skip to content

A simple restful interface to Playstation Move controllers using psmoveapi

License

Notifications You must be signed in to change notification settings

evanbrumley/psmove-restful

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PS Move Restful API

A super simple REST API for interfacing with Playstation Move controllers using the psmoveapi.

Installation

  1. Install the psmoveapi and pair your controllers (probably set aside an evening to get this done, it's not particularly straightforward)
  2. Add the full path to the psmoveapi build directory to an environment variable named PSMOVEAPI_BUILD_DIR
  1. pip install -r requirements.txt

Use

Run the server using python server.py

Controller information will be hosted at localhost:5000/controllers/<controller_id>

Four variables are available for PUT requests

  • color_red (0-255)
  • color_green (0-255)
  • color_blue (0-255)
  • rumble (0-255)

About

A simple restful interface to Playstation Move controllers using psmoveapi

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages