Is there a way to activate the torch/flashlight via a physical button on the device? The standard pixel OS allows you to tap the back of the phone twice, which is better than nothing but is quite annoyingly unpredictable. My old Samsung phone had a whole extra re-programmable button that I mapped to long-press flashlight, and short press for media play/pause.
This slowly became a feature that I'm having trouble living without -- I used the hardware flashlight at least 3-4x a day and it is really frustrating to have to turn on the acreen, swipe down, and press flashlight, and then the same when I want to turn it off. is there a setting I'm missing or any (preferably FOSS) software that enables this functionality. A fully programmable way to map volume/power key long/short/double press would be ideal, but being able to turn on flashlight would be 95% of the way there.
Thanks in advance!