# Xbox controlled not mapped by QGroundControl

**URL:** <https://discuss.bluerobotics.com/t/xbox-controlled-not-mapped-by-qgroundcontrol/1311>\
**Category:** Blue Robotics Software\
**Created:** [July 26, 2017, 10:50am UTC](https://discuss.bluerobotics.com/t/xbox-controlled-not-mapped-by-qgroundcontrol/1311 "2017-07-26T10:50:48Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![olaya](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.bluerobotics.com/olaya/32/1671_2.png) [@olaya](https://discuss.bluerobotics.com/u/olaya)\
**Post date:** [July 26, 2017, 10:50am UTC](https://discuss.bluerobotics.com/t/xbox-controlled-not-mapped-by-qgroundcontrol/1311/1 "2017-07-26T10:50:48Z")

</div>

Hello there,

I’m trying to calibrate my joystick as indicated in the software setup tutorial, but the QGroundControl doesn’t detect the xbox controller, and it indicates that “it is not mapped”.

However, If I do a jstest from the console, it correctly detects the controller in js0.

I’m using Ubuntu 14.04 and the last version of QGroundControl, which I downloaded from your software guide this monday. I used xbox driver xboxdrv, first with version 0.8.5 and now with version 0.8.8 (which is the latest) but the problem remains. I’ve used a wired xbox360 controller and also a wireless xbox 360 controller, obtaining no different behavior. I also tried all the different TX Modes without noticing any change.  
Below there is a capture of my screen showing the problem.

I previously used an older QGroundControl version, and it detected my joystick correctly! However, I’m not using it as [it gave me other different problems](http://discuss.bluerobotics.com/t/accelerometer-calibration-problem/1308).

Any guess of what might be happening? Do you recommend any other xbox driver?

Thanks,

 ![joyproblem](https://us1.discourse-cdn.com/flex019/uploads/bluerobotics/original/2X/8/8735bcbd0c7ced99a5d99b0207e969ef9d32fe03.png)

---

<div class="post-metadata">

**Author:** ![jwalser](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.bluerobotics.com/jwalser/32/2234_2.png) [@jwalser](https://discuss.bluerobotics.com/u/jwalser)\
**Post date:** [July 26, 2017, 1:39pm UTC](https://discuss.bluerobotics.com/t/xbox-controlled-not-mapped-by-qgroundcontrol/1311/2 "2017-07-26T13:39:59Z")

</div>

Ok, the xbox360 wired controller should definitely work (you need to click the Enable checkbox), so not sure what’s up there. You should not need to install any additional drivers in Ubuntu, it ships with xbox360 drivers. I found a bug just last week with the wireless receivers. The wireless receivers present 4 joysticks to the OS (regardless of how many were actually connected, and QGC always picked only the 4th joystick (js3). I’ve made a fix to display all 4 joysticks in the dropdown, but the joystick buttons are mapped to different numbers than usual. I need to do more testing before I merge this fix for everyone, in the meantime you can get QGC with the fix [here](https://github.com/jaxxzer/qgroundcontrol/releases/download/5.5.8/QGroundControl.AppImage).

-Jacob

---

<div class="post-metadata">

**Author:** ![olaya](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.bluerobotics.com/olaya/32/1671_2.png) [@olaya](https://discuss.bluerobotics.com/u/olaya)\
**Post date:** [July 26, 2017, 2:53pm UTC](https://discuss.bluerobotics.com/t/xbox-controlled-not-mapped-by-qgroundcontrol/1311/3 "2017-07-26T14:53:49Z")

</div>

Hi Jacob, thank you for the quick answer  
The fix works! I don’t know what could be causing the problem, but it is solved with your fix!

Thank you very much 🙂

---

<div class="post-metadata">

**Author:** ![olaya](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.bluerobotics.com/olaya/32/1671_2.png) [@olaya](https://discuss.bluerobotics.com/u/olaya)\
**Post date:** [September 26, 2017, 2:39pm UTC](https://discuss.bluerobotics.com/t/xbox-controlled-not-mapped-by-qgroundcontrol/1311/4 "2017-09-26T14:39:53Z")

</div>

Hello again Jacob

I’m posting it here since it is (I think) a related issue.

The xbox controller is mapped with this last release of QGroundControl, but the right joystick is not well mapped. I tried with different joysticks to check if the problem was in the joystick, but the same problem occurs.

When I move the left joystick up and down, the 2nd axis (which appears associated with the lateral attitude control) works fine.  
However, when I move it left and right, the forward attitude control doesn’t move at all. Looking at the 4th axis, without even touching the joystick, it appears deviated to the right, and when moving the joystick it only moves to the center of the axis or the right.

As I said, it couldn’t be a hardware problem since I tried with two different joysticks, and both gave exactly the same problem

I’m attaching [a video](https://drive.google.com/file/d/0B2wbaFwBp78GSVNFVFFQX1RCTGM/view?usp=sharing) that shows the mentioned behavior. In the video I first move the joystick Up and down and then left and right.

What can be causing this?  
Unfortunately, I won’t be able to try it on water until next week, to see if it affects its behavior on water.

---

<div class="post-metadata">

**Author:** ![jwalser](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.bluerobotics.com/jwalser/32/2234_2.png) [@jwalser](https://discuss.bluerobotics.com/u/jwalser)\
**Post date:** [September 27, 2017, 4:11am UTC](https://discuss.bluerobotics.com/t/xbox-controlled-not-mapped-by-qgroundcontrol/1311/5 "2017-09-27T04:11:01Z")

</div>

@olaya I’m sorry, it’s not entirely clear what is going on here. On the ‘Axis Monitor’ on the right hand side of the screen, 0-3 should be the joysticks, and 4 and 5 should be the triggers. Is this what you observe? If not, then something weird may be going on. Can you take a picture of your wireless receiver and controller?

---

<div class="post-metadata">

**Author:** ![olaya](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.bluerobotics.com/olaya/32/1671_2.png) [@olaya](https://discuss.bluerobotics.com/u/olaya)\
**Post date:** [September 27, 2017, 9:51am UTC](https://discuss.bluerobotics.com/t/xbox-controlled-not-mapped-by-qgroundcontrol/1311/6 "2017-09-27T09:51:02Z")

</div>

The left joystick moves the ‘Axis Monitor’ 0 and 1  
Moving the right joystick up and down activates the axis 2. When I move it left and right, it activates the 4th axis, not the third.  
The 3rd axis doesn’t move at all with any joystick.

The triggers activate the buttons 4 and 6 in the ‘Button monitor’.

If I try to calibrate the joystick, when it asks me to move the right joystick left and right I cannot continue the calibration because it doesn’t detect any movement!

The controllers are the ones in this picture. Both give the same problem. They are Xbox controllers.

 ![IMG_20170927_113932](https://us1.discourse-cdn.com/flex019/uploads/bluerobotics/original/2X/2/22e4f4e24cf145cf597482b2302c47e14d795956.jpg)

UPDATE: I tried with the same hardware and installing QGroundControl in windows and here it works fine. So it has something to do with Linux version… or maybe the drivers

---

<div class="post-metadata">

**Author:** ![jwalser](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.bluerobotics.com/jwalser/32/2234_2.png) [@jwalser](https://discuss.bluerobotics.com/u/jwalser)\
**Post date:** [September 27, 2017, 3:12pm UTC](https://discuss.bluerobotics.com/t/xbox-controlled-not-mapped-by-qgroundcontrol/1311/7 "2017-09-27T15:12:23Z")

</div>

Yes Olaya, I think your xbox driver is the problem. Ubuntu ships with built in drivers that should work correctly. Did you install another driver?

---

<div class="post-metadata">

**Author:** ![olaya](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.bluerobotics.com/olaya/32/1671_2.png) [@olaya](https://discuss.bluerobotics.com/u/olaya)\
**Post date:** [September 28, 2017, 10:49am UTC](https://discuss.bluerobotics.com/t/xbox-controlled-not-mapped-by-qgroundcontrol/1311/8 "2017-09-28T10:49:41Z")

</div>

Hello Jacob,

I had the xboxdrv 0.8.8 installed in Ubuntu 14.04  
I downgraded it to version 0.8.5, which is the default version for Ubuntu 14.04, and it solved the problem!!!

Thanks for everything 🙂

Regards

---

<div class="post-metadata">

**Author:** ![Igor](https://avatars.discourse-cdn.com/v4/letter/i/dec6dc/32.png) [@Igor](https://discuss.bluerobotics.com/u/Igor)\
**Post date:** [January 16, 2019, 6:30pm UTC](https://discuss.bluerobotics.com/t/xbox-controlled-not-mapped-by-qgroundcontrol/1311/9 "2019-01-16T18:30:46Z")

</div>

Hi Jacob,

I can not use the link that left on the solution with the QGC that detects 4 xbox controls, can post again?

---

<div class="post-metadata">

**Author:** ![jwalser](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.bluerobotics.com/jwalser/32/2234_2.png) [@jwalser](https://discuss.bluerobotics.com/u/jwalser)\
**Post date:** [January 21, 2019, 4:46pm UTC](https://discuss.bluerobotics.com/t/xbox-controlled-not-mapped-by-qgroundcontrol/1311/10 "2019-01-21T16:46:46Z")

</div>

Hi @Igor, this was a temporary solution that I uploaded. Right now you should work with the latest release [here](http://docs.bluerobotics.com/downloads/#qgroundcontrol). Let me know if you have any problem with it.
