# \[SOLVED\] Game Control Plus: how to reconnect wireless XBOX controller after it turned off

**URL:** https://discourse.processing.org/t/solved-game-control-plus-how-to-reconnect-wireless-xbox-controller-after-it-turned-off/9698
**Category:** Libraries
**Created:** [March 27, 2019, 11:48pm UTC](https://discourse.processing.org/t/solved-game-control-plus-how-to-reconnect-wireless-xbox-controller-after-it-turned-off/9698 "2019-03-27T23:48:47Z")
**Posts on this page:** 1
**Showing post:** 12

<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: [March 31, 2019, 11:33am UTC](https://discourse.processing.org/t/solved-game-control-plus-how-to-reconnect-wireless-xbox-controller-after-it-turned-off/9698/12 "2019-03-31T11:33:08Z")

</div>

I have only tested this library with a wired XBOX controller and a Joystick because they are the only devices I have. I assume the wireless controller is powered through the USB port but the actual controller is battery operated so will go to sleep if not used.

You might try

```auto
//when the controller is disconnected and i turned it on again
void mousePressed(){

  //close the device or dispose or proper way to do it...
  xbox.available = true;

 //and set it up again maybe like so
 xbox= control.getMatchedDevice("360");
}

```

If this doesn’t work then I can’t think what else you might try.

---

_[View the full topic](https://discourse.processing.org/t/solved-game-control-plus-how-to-reconnect-wireless-xbox-controller-after-it-turned-off/9698)._
