# Game control plus bluetooth controller

**URL:** https://discourse.processing.org/t/game-control-plus-bluetooth-controller/5268
**Category:** Libraries
**Created:** [November 6, 2018, 6:15pm UTC](https://discourse.processing.org/t/game-control-plus-bluetooth-controller/5268 "2018-11-06T18:15:48Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![quark](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/quark/32/26_2.png) [@quark](https://discourse.processing.org/u/quark)
#### Post date: [November 6, 2018, 6:35pm UTC](https://discourse.processing.org/t/game-control-plus-bluetooth-controller/5268/2 "2018-11-06T18:35:21Z")

</div>

> [@Whahahahaha](#):
>
> I was wondering if it were possible to connect a bluetooth controller to processing with the game control plus library.

I have no idea because I don’t have a Bluetooth controller to test it with.

> [@Whahahahaha](#):
>
> 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;

Do the GCP examples work without the Bluetooth controller attached?

> [@Whahahahaha](#):
>
> Is there anything else you can fill in instead of “this” in the getInstance() parameter to enable these bluetooth controllers?

No `this` refers to the PApplet class object that encompasses the sketch code.

GCP is updated and extended version of proCONTROLL created and abandoned by Christian Riekoff in 2005.

The core of the library consists of

- OS specific system exe files
- JInput

both of these are very old pre 2005 and I don’t have the resources to modify them so GCP either works with your device or not there is little I can do. Sorry about that.

---

_[View the full topic](https://discourse.processing.org/t/game-control-plus-bluetooth-controller/5268)._
