# How does one use XInput (Xbox Controller) inputs in Processing

**URL:** <https://discourse.processing.org/t/how-does-one-use-xinput-xbox-controller-inputs-in-processing/17327>\
**Category:** Libraries\
**Created:** [January 25, 2020, 4:06pm UTC](https://discourse.processing.org/t/how-does-one-use-xinput-xbox-controller-inputs-in-processing/17327 "2020-01-25T16:06:02Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![TechMaster04](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/techmaster04/32/14929_2.png) [@TechMaster04](https://discourse.processing.org/u/TechMaster04)\
**Post date:** [January 25, 2020, 4:06pm UTC](https://discourse.processing.org/t/how-does-one-use-xinput-xbox-controller-inputs-in-processing/17327/1 "2020-01-25T16:06:02Z")

</div>

Hello all

I’m working on a queue manager (Check it out [Here](https://1drv.ms/u/s!AnXXk5PX0LXn6BucZYkTMhw4Jtnc?e=Ra3aJu) ) and thought it would be nice to add some Easter eggs that can be triggered with an Xbox Controller. Does anyone know how to detect XInput/Xbox controller inputs in processing?

I would use reWASD to map the controller inputs to letters, but that kinda defeats the purpose of it being an Easter egg.

Thanks in Advance

EDIT: I have a Wired Xbox One Controller

---

<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:** [January 25, 2020, 4:26pm UTC](https://discourse.processing.org/t/how-does-one-use-xinput-xbox-controller-inputs-in-processing/17327/2 "2020-01-25T16:26:27Z")

</div>

You might try the Game Control Plus (GCP) library (latest version 1.2.2) which can be installed through the Contributions Manager. A lot of info about the library can be found [here](http://www.lagers.org.uk/gamecontrol/index.html)

No promises that it will work 😉

---

<div class="post-metadata">

**Author:** ![TechMaster04](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/techmaster04/32/14929_2.png) [@TechMaster04](https://discourse.processing.org/u/TechMaster04)\
**Post date:** [January 25, 2020, 4:32pm UTC](https://discourse.processing.org/t/how-does-one-use-xinput-xbox-controller-inputs-in-processing/17327/3 "2020-01-25T16:32:12Z")

</div>

Thanks! I’ll look into that
