Contrôles
jeff44850 opened this issue · 5 comments
Bonjour et merci d'effectuer le suivi de ce module
J'apprécie énormément les nouvelles fonctionnalités de changement d'appareil et de compte.
J'ai également vu que l'on pouvais contrôler le volume en tactile mais je ne sais pas où le faire 🙄
Faut-il un module spécial ?
Les autres boutons fonctionnent très bien en tactile
Merci encore
Hi there. Please open issues in English. Thanks
Hello and thank you follow the tracking module of this
I really like the new device and account switching features.
I also saw that we could control the volume by touch but I do not know where to do it🙄
Do you need a special module?
The other buttons work very well in touch
thanks again
Thank you for the feedback and translation :)
I use MMM-Touch for all touch related operations. It is very powerful.
An example configuration could be:
{
// Have this at the bottom, or else it will "push" down other modules comming after it, even tho it is "hidden"
module: "MMM-Touch",
position: "top_right",
config: {
useDisplay: false,
defaultMode: "normalOperation",
gestureCommands: {
"normalOperation": {
// Spotify - increase volume
"MOVE_UP_1": (commander, gesture) => {
commander.sendNotification("SPOTIFY_VOLUME_UP")
},
// Spotify - decrease volume
"MOVE_DOWN_1": (commander, gesture) => {
commander.sendNotification("SPOTIFY_VOLUME_DOWN")
},
},
}
}
},
The MOVE_*
command from MMM-Touch
is described here
thank you so much
I will study this module 😉
Sure thing. Get back to me if you have any other questions.