@quark, sorry to bother you…
I was wondering if it were possible to connect a bluetooth controller to processing with the game control plus library. I have a playstation 4 2nd gen controller which can connect to my laptop with bluetooth, but when I open the configurator (or the showDevices, or any self-made) sketch, it gives me this error:
ClassCastException: java.lang.String cannot be cast to [Ljava.lang.Object;
it also highlights the code: controlIO = ControlIO.getInstance(this);
somehow when I connect the controller over USB it works just fine. and when I connect another bluetooth device while the controller is disconnected the sketch can run too…
Is there anything else you can fill in instead of “this” in the getInstance() parameter to enable these bluetooth controllers?
or do you have any other idea that causes this problem?
I look forward to hearing from you.