Change the controller bulb colors

Issue #5 wontfix
Douglas Silva created an issue

Would be really cool if we could change the bulb color using freePie and your application, there is functions for that on the Client PsMoveAPI, So I tried to compile your application code on VS2015, but for some reason FreeWriterBridge and PSMoveFreepieBridge are shown as incompatible. Therefore I am asking you if you could do this modification for enlarge the possibilities of your application that is already very usefull!

There is a "set_led_tracking_color" function in the Client API for setting the tracking color for a controller: https://github.com/cboulay/PSMoveService/blob/master/src/psmoveclient/ClientPSMoveAPI.h#L195

You could have to route a call to that function in the FreePie bridge API in here: https://bitbucket.org/hawkinse/psmovefreepiebridge/src/406d43a5813be9e6981ccab597b62ab9bfae6d7f/PSMoveFreepieBridge/FreepieMoveClient.cpp?at=master&fileviewer=file-view-default

Comments (6)

  1. Douglas Silva reporter

    Thank you elliot for make this change and expand the possibilities of this handy tool, but could you put the color of the controller like a freePieIO.led.SetColor(0,0,0) , them we could play around on FreePie and the possibilities are limitless.

  2. Elliot Hawkins repo owner

    In PSMoveService, the tracking color is an enumeration, not an actual color. As such, the options presented are the only options that can be used.

    As for making the color set from within FreePie, I can't do that either. The Freepie IO plugin only supports transferring location/rotation data, and it's not possible to add extra variables to to the struct.

    If someone can think of a way to do it, the code is here. That's part of why this is an open source project. However, I myself won't be adding this.

  3. Log in to comment