[FREE] Key Volume - change and DoublePress key

Volume Button Control.

A simple extension to activate the volume buttons. :yum:

monitors volume changes as well as doublepress on the volume keys.

in some of their applications, there was a need to somehow intercept a double tap on the volume keys. for example, using these events, I switch music tracks, in another way I control the device or turn on the flash. There are plenty of scenarios. This extension implements volume change events and a double press on the volume keys.

Screenshot_3
everything is quite clear, except that you need an explanation for the block. :

Screenshot_4
The way to detect a click is based on changing the volume. This is a simple, affordable way that does not require additional implementation,permissions, and responds well to the background.
therefore, if this option is enabled, the maximum volume will be lower by 1. in other words, it will not control the maximum volume and make changes a little less in order to correctly handle double tapping at maximum sound.
if you do not plan to monitor the double tap, then ignore this block altogether.

download:
KeyVolume.aix (8.8 KB)

1 Like

Thats really good extension but can you give me the full source code so i can see how good are you doing inside the code.