Inaccessible functions in Processing via SWIG #30

SableRaf opened this Issue Oct 28, 2012 · 1 comment


None yet
2 participants

SableRaf commented Oct 28, 2012

In Processing, we cannot access functions of the API that are not available through an extended class like PSMove or PSMoveTracker. For example: count_connected() cannot be called.


thp commented Nov 5, 2012

I just looked up section 21.3.2 ("Functions") in and found that it's actually mapped as static method already:

import io.thp.psmove.psmoveapi;

int connected = psmoveapi.count_connected();

Fixed in commit c703331 by updating the multi-controller example, and commit 5c52d44 shows how it's done from the Java side of things.

@thp thp closed this Nov 5, 2012

eduardolundgren pushed a commit to eduardolundgren/psmoveapi that referenced this issue Apr 26, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment