# Missing buttons in ArduSub

**URL:** <https://discuss.bluerobotics.com/t/missing-buttons-in-ardusub/1230>\
**Category:** ArduSub\
**Created:** [July 3, 2017, 9:04pm UTC](https://discuss.bluerobotics.com/t/missing-buttons-in-ardusub/1230 "2017-07-03T21:04:13Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mikxie](https://avatars.discourse-cdn.com/v4/letter/m/5fc32e/32.png) [@Mikxie](https://discuss.bluerobotics.com/u/Mikxie)\
**Post date:** [July 3, 2017, 9:04pm UTC](https://discuss.bluerobotics.com/t/missing-buttons-in-ardusub/1230/1 "2017-07-03T21:04:13Z")

</div>

Using an XBOX joystick, I am trying to add buttons 17 - 20 in ArduSub, but adding the parameters is not enough, I get the message “FUNCTION - does not exist on this vehicle” How do I ad the buttons? QGroundControl is recognizing when I press the buttons.

---

<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 3, 2017, 9:08pm UTC](https://discuss.bluerobotics.com/t/missing-buttons-in-ardusub/1230/2 "2017-07-03T21:08:54Z")

</div>

There is only support for 16 buttons right now, the other ones cannot be used. Are they appearing in the list with options? If so we should fix that so it does not give you a choice.

-Jacob

---

<div class="post-metadata">

**Author:** ![Mikxie](https://avatars.discourse-cdn.com/v4/letter/m/5fc32e/32.png) [@Mikxie](https://discuss.bluerobotics.com/u/Mikxie)\
**Post date:** [July 3, 2017, 9:13pm UTC](https://discuss.bluerobotics.com/t/missing-buttons-in-ardusub/1230/3 "2017-07-03T21:13:00Z")

</div>

Yes they appear but they are locked. What is the reason for not being able to use them? Is there another way to change the number on the joystick? The cross-shaped button has the numbers 17-20

/Mikkel

---

<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 3, 2017, 9:18pm UTC](https://discuss.bluerobotics.com/t/missing-buttons-in-ardusub/1230/4 "2017-07-03T21:18:44Z")

</div>

A standard xbox 360 joystick has 15 buttons. The reason for the limitation is that the information about which buttons are pressed is transported to the ROV in a 16-bit field. 16 bits = 16 buttons.

- Can you please show a screenshot of what you are seeing?

---

<div class="post-metadata">

**Author:** ![Mikxie](https://avatars.discourse-cdn.com/v4/letter/m/5fc32e/32.png) [@Mikxie](https://discuss.bluerobotics.com/u/Mikxie)\
**Post date:** [July 3, 2017, 9:26pm UTC](https://discuss.bluerobotics.com/t/missing-buttons-in-ardusub/1230/5 "2017-07-03T21:26:56Z")

</div>

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

If it is possible to renumber the buttons, it would help. some numbers are not active on this joystick

---

<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 3, 2017, 9:29pm UTC](https://discuss.bluerobotics.com/t/missing-buttons-in-ardusub/1230/6 "2017-07-03T21:29:12Z")

</div>

Can you provide a link to where you purchased the joystick? Are there any switches on the joystick? To remap the numbers on the joystick, you will need a separate application.

---

<div class="post-metadata">

**Author:** ![Mikxie](https://avatars.discourse-cdn.com/v4/letter/m/5fc32e/32.png) [@Mikxie](https://discuss.bluerobotics.com/u/Mikxie)\
**Post date:** [July 3, 2017, 9:36pm UTC](https://discuss.bluerobotics.com/t/missing-buttons-in-ardusub/1230/7 "2017-07-03T21:36:57Z")

</div>

Buttons 12-15 are not found used on the joystick - it is an X-Box One controller not 360 - sorry

It is in danish:

> **[Xbox One S trådløs controller | Elgiganten](https://www.elgiganten.dk/product/gaming/spillekonsol-tilbehor/xbox/tilbehor-til-xbox/xbox-one-s-tradlos-controller/XONEWLCONTWH)**
>
> Xbox One S trådløs controller kommer i et slankt og mere ergonomisk design, med tekstureret overflade for bedre greb. Controlleren

---

<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 3, 2017, 10:04pm UTC](https://discuss.bluerobotics.com/t/missing-buttons-in-ardusub/1230/8 "2017-07-03T22:04:21Z")

</div>

Hm, this sounds like a driver issue. What operating system are you using?

---

<div class="post-metadata">

**Author:** ![Mikxie](https://avatars.discourse-cdn.com/v4/letter/m/5fc32e/32.png) [@Mikxie](https://discuss.bluerobotics.com/u/Mikxie)\
**Post date:** [July 3, 2017, 11:22pm UTC](https://discuss.bluerobotics.com/t/missing-buttons-in-ardusub/1230/9 "2017-07-03T23:22:01Z")

</div>

I am using MacOS 10.12.

Just figured out that the problem is only there when using the controller wireless.

---

<div class="post-metadata">

**Author:** ![kaosrulz](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.bluerobotics.com/kaosrulz/32/1008_2.png) [@kaosrulz](https://discuss.bluerobotics.com/u/kaosrulz)\
**Post date:** [July 3, 2017, 11:31pm UTC](https://discuss.bluerobotics.com/t/missing-buttons-in-ardusub/1230/10 "2017-07-03T23:31:12Z")

</div>

Found this link that might help as it does sound like a driver issue

[https://www.google.co.nz/amp/www.instructables.com/id/How-to-Use-an-Xbox-One-Controller-on-a-Mac/%3Famp\_page%3Dtrue](https://www.google.co.nz/amp/www.instructables.com/id/How-to-Use-an-Xbox-One-Controller-on-a-Mac/%3Famp_page%3Dtrue)

---

<div class="post-metadata">

**Author:** ![Mikxie](https://avatars.discourse-cdn.com/v4/letter/m/5fc32e/32.png) [@Mikxie](https://discuss.bluerobotics.com/u/Mikxie)\
**Post date:** [July 3, 2017, 11:45pm UTC](https://discuss.bluerobotics.com/t/missing-buttons-in-ardusub/1230/11 "2017-07-03T23:45:34Z")

</div>

Hi Kaos,

Thanks for your research, but I have already done that.

The problem is when using the controller without the cable, in which case the GitHub driver doesn’t find it. Thus remapping is not possible…

---

<div class="post-metadata">

**Author:** ![gwa-gwa](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.bluerobotics.com/gwa-gwa/32/1204_2.png) [@gwa-gwa](https://discuss.bluerobotics.com/u/gwa-gwa)\
**Post date:** [July 4, 2017, 12:02pm UTC](https://discuss.bluerobotics.com/t/missing-buttons-in-ardusub/1230/12 "2017-07-04T12:02:31Z")

</div>

I have the same issue with [Xiaomi Mi Bluetooth Gamepad](https://xiaomi-mi.com/accessories-for-tv/xiaomi-mi-bluetooth-gamepad/). I can see buttons 16-20 working in the button monitor, but I cannot map them. All of the directional keys are in the 16-20 range so it means I can’t use those.

---

<div class="post-metadata">

**Author:** ![Mikxie](https://avatars.discourse-cdn.com/v4/letter/m/5fc32e/32.png) [@Mikxie](https://discuss.bluerobotics.com/u/Mikxie)\
**Post date:** [July 4, 2017, 5:14pm UTC](https://discuss.bluerobotics.com/t/missing-buttons-in-ardusub/1230/13 "2017-07-04T17:14:59Z")

</div>

It would be nice if ArduSub could remap e.g. BT 19 to BT 12 etc, keeping a maximum of 16 buttons

---

<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 4, 2017, 5:44pm UTC](https://discuss.bluerobotics.com/t/missing-buttons-in-ardusub/1230/14 "2017-07-04T17:44:20Z")

</div>

This is really an issue with the driver on Mac, but with that said, the joystick side of qgc should get better in the future to be more adaptable to situations like this.
