From a702b864b618eca6d0e53c978e30e520b84e640e Mon Sep 17 00:00:00 2001 From: David Gomes <10091092+davidgomesdev@users.noreply.github.com> Date: Mon, 3 Jun 2024 20:55:20 +0100 Subject: [PATCH] docs: add psmoveapi compile --- server/README.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/server/README.md b/server/README.md index 2ceb5d1..bd54183 100644 --- a/server/README.md +++ b/server/README.md @@ -21,6 +21,17 @@ libraries, but those don't use psmove's version of bluetooth) The pairing is done manually with [psmoveapi](https://github.com/thp/psmoveapi). +### Compiling psmoveapi + +- `sudo apt install cmake build-essential libudev-dev libbluetooth-dev libusb-dev libsystemd-dev libusb-1.0-0-dev libusb-0.1-4 libdbus-1-dev` +- `git clone https://github.com/thp/psmoveapi && cd psmoveapi && git submodule update --init external/hidapi/ external/libusb-1.0/` +- Remove from `CMakeLists.txt`: + - `include("examples/CMakeLists.txt")` + - the PS3Eye block +- Remove "tracker" from `src/CMakeLists.txt` (around line 176) +- `cmake .` +- `make -j4` + ## Windows limitation The GraphQL subscription and controller updates are very slow on Windows.