# How to get DualSense mute btn and touchpad press state?

**URL:** <https://discourse.glfw.org/t/how-to-get-dualsense-mute-btn-and-touchpad-press-state/2794>\
**Category:** support\
**Created:** [December 17, 2024, 3:16pm UTC](https://discourse.glfw.org/t/how-to-get-dualsense-mute-btn-and-touchpad-press-state/2794 "2024-12-17T15:16:21Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![SenPie](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.glfw.org/senpie/32/986_2.png) [@SenPie](https://discourse.glfw.org/u/SenPie)\
**Post date:** [December 17, 2024, 3:16pm UTC](https://discourse.glfw.org/t/how-to-get-dualsense-mute-btn-and-touchpad-press-state/2794/1 "2024-12-17T15:16:21Z")

</div>

Hi, I’m using GLFW for my app. The GLFW uses SDL Controller DB to map device input to abstract gamepad. However, GLFWgamepadstate doesn’t contain states for Dual Sense mute button and touchpad button. In the [db.txt from sdl](https://github.com/mdqinc/SDL_GameControllerDB/blob/9e4f34deb5569dfdd8c16c2320710aeb2a7e2f12/gamecontrollerdb.txt#L555) you can see that mapping for those keys is present as well. My question is how to conveniently query **misc button, touchpad button** states as well? I really don’t want to parse, that file myself. Thanks!

---

<div class="post-metadata">

**Author:** ![dougbinks](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.glfw.org/dougbinks/32/39_2.png) [@dougbinks](https://discourse.glfw.org/u/dougbinks)\
**Post date:** [December 17, 2024, 4:25pm UTC](https://discourse.glfw.org/t/how-to-get-dualsense-mute-btn-and-touchpad-press-state/2794/2 "2024-12-17T16:25:55Z")

</div>

Hi @SenPie,

Welcome to the GLFW forum.

See the [input documentation on Gamepad mappings in GLFW](https://www.glfw.org/docs/latest/input_guide.html#gamepad_mapping) - the `misc1` and `touchpad` buttons are not currently supported.

---

<div class="post-metadata">

**Author:** ![SenPie](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.glfw.org/senpie/32/986_2.png) [@SenPie](https://discourse.glfw.org/u/SenPie)\
**Post date:** [December 17, 2024, 5:30pm UTC](https://discourse.glfw.org/t/how-to-get-dualsense-mute-btn-and-touchpad-press-state/2794/3 "2024-12-17T17:30:17Z")

</div>

Is there any workaround?

---

<div class="post-metadata">

**Author:** ![SenPie](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.glfw.org/senpie/32/986_2.png) [@SenPie](https://discourse.glfw.org/u/SenPie)\
**Post date:** [December 18, 2024, 4:55pm UTC](https://discourse.glfw.org/t/how-to-get-dualsense-mute-btn-and-touchpad-press-state/2794/4 "2024-12-18T16:55:30Z")

</div>

Made a [pull request](https://github.com/glfw/glfw/pull/2661) now we wait:)

---

<div class="post-metadata">

**Author:** ![dougbinks](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.glfw.org/dougbinks/32/39_2.png) [@dougbinks](https://discourse.glfw.org/u/dougbinks)\
**Post date:** [December 18, 2024, 6:41pm UTC](https://discourse.glfw.org/t/how-to-get-dualsense-mute-btn-and-touchpad-press-state/2794/5 "2024-12-18T18:41:23Z")

</div>

Thanks for that. This may take some time to merge.
