Skip to content

Latest commit

 

History

History
27 lines (17 loc) · 716 Bytes

README.rst

File metadata and controls

27 lines (17 loc) · 716 Bytes

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)