Use Volume to scroll for choosed apps

by Gabriel dos Reis Mattoso

Version 2 (June 12, 2020)

Download (51 downloads)

Set apps in the variable apps with the correspondent packages.

When one of the chosen apps are in foreground, the volume buttons doesn't turn the volume up/down, but it does a small swipe in the middle of the screen with the velocity set in the dips variable.

When the notification panel is open while one of those apps are open, the app is still considered in foreground (this is not a feature of the flow).

When they're not in foreground the volume buttons do what they're supposed to do.