keymapperorg / KeyMapper

An Android app that change what the buttons do on your devices!
http://docs.keymapper.club
GNU General Public License v3.0
1.05k stars 153 forks source link

Toggle flashlight when the screen is off #1150

Open k2helix opened 1 year ago

k2helix commented 1 year ago

Developer TODO (don't remove)

Hi, I'm trying to create a trigger for the flashlight which works while the screen is off and the app says it is not possible without root. I'm rooted, however I do not understand why it requires this permission as there are apps like Torchie (which you can find on fdroid or the play store) which can do this without root/shizuku. Is root really needed for this? If yes, why can Torchie do it with the accessibility service only? I think that this can be a great feature to add as many ROMs still don't have the hold power button to to toggle torch shortcut.