# GameControlPlus Joystick polling issue

**URL:** https://discourse.processing.org/t/gamecontrolplus-joystick-polling-issue/5386
**Category:** Libraries
**Created:** [November 9, 2018, 5:13pm UTC](https://discourse.processing.org/t/gamecontrolplus-joystick-polling-issue/5386 "2018-11-09T17:13:56Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![metype](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/metype/32/7040_2.png) [@metype](https://discourse.processing.org/u/metype)
#### Post date: [November 9, 2018, 5:13pm UTC](https://discourse.processing.org/t/gamecontrolplus-joystick-polling-issue/5386/1 "2018-11-09T17:13:57Z")

</div>

So this isn’t an issue for most, but I’m trying to add support for both a joystick and a keyboard, I want a way to test if there is a joystick without showing the box if there isn’t one that matches the config file.

---

<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 9, 2018, 5:25pm UTC](https://discourse.processing.org/t/gamecontrolplus-joystick-polling-issue/5386/2 "2018-11-09T17:25:38Z")

</div>

You might look at `controlIO.getDevices()` see [reference](http://lagers.org.uk/gamecontrol/ref/classorg_1_1gamecontrolplus_1_1_control_i_o.html#a8d6522648eb41cf4886139485f0f10de)

---

<div class="post-metadata">

### Author: ![metype](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/metype/32/7040_2.png) [@metype](https://discourse.processing.org/u/metype)
#### Post date: [November 12, 2018, 4:44pm UTC](https://discourse.processing.org/t/gamecontrolplus-joystick-polling-issue/5386/3 "2018-11-12T16:44:00Z")

</div>

Thanks, `getMatchedDeviceSilent()` works perfectly for what I need.
