by Christian Asmanis
NO PREMIUM, NO ROOT
This little flow is for further development.
You can use the first flow "Find Keycode" to find the right code for your hardware button.
The second flow decides between 2 pressed buttons (25=Volume down key, 24=volume up key) and await the next pressed button.
Insert your found key code in the if expressions to get anything done for you!
Rate and review within the app in the Community section.