# 📗 Das dynamische Button-Layout

**URL:** <https://forum.espuino.de/t/das-dynamische-button-layout/224>\
**Category:** Anleitungen\
**Created:** [26. Februar 2021 um 07:59 UTC](https://forum.espuino.de/t/das-dynamische-button-layout/224 "2021-02-26T07:59:54Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![onkelbobby](https://forum.espuino.de/user_avatar/forum.espuino.de/onkelbobby/32/1608_2.png) [@onkelbobby](https://forum.espuino.de/u/onkelbobby)\
**Post date:** [13. Oktober 2022 um 19:14 UTC](https://forum.espuino.de/t/das-dynamische-button-layout/224/4 "2022-10-13T19:14:58Z")

</div>

> [@biologist](#):
>
> CMD\_TOGGLE\_BLUETOOTH\_MODE

eine Kleinigkeit hat sich hier geändert:  
anstelle des früheren Bluetooth Modus, bei dem es „nur“ die Funktion gab den ESPuino als Bluetooth Speaker zu verwenden

```auto
CMD_TOGGLE_BLUETOOTH_MODE	Schaltet Bluetooth an/aus

```

gibt es eine Neuerung den ESPuino nun entweder als Bluetooth Speaker oder zur Kopplung mit [Bluetooth Kopfhörern](https://forum.espuino.de/t/neues-feature-bluetooth-kopfhoerer/1293) zu verwenden. Hierfür haben sich die Kommandos allerdings auch entsprechend geändert, welche man den Buttons zuweisen kann

```auto
#define CMD_TOGGLE_BLUETOOTH_SINK_MODE 140 // Toggles Normal/Bluetooth sink Mode 
#define CMD_TOGGLE_BLUETOOTH_SOURCE_MODE 141 // Toggles Normal/Bluetooth source Mode 

```

---

_[View the full topic](https://forum.espuino.de/t/das-dynamische-button-layout/224)._
