by Denis Lebedev
The Flow controls a player by Volume buttons.
• Double pressing of Volume Up switch the player to next track.
• Double pressing of Volume Down returns the player to previous track.
• Quick pressing of Volume Up and Volume down set the player to play/pause state.
Some settings are required from your side. You should count how many presses are required to change the Volume from 0 to 100%. After that modify the variable valuePerClick in first block. In my case it looks like 100/15. Here the number 15 shows how many pressings of Volume up are needed to go the volume from 0 to 100%.
Limitations: because the flow uses value of volume to catch double pressing it doesn't work when your volume greater than 2 steps before 100% volume and less than 2 steps before 0% volume
Reviews and ratings can be submitted in the app.