Ability to use features with the screen off
Developer TODO (don't remove)
- [ ] create new branch. put issue number at start of name
- [ ] update documentation
- [ ] merge and delete branch (don't squash because want commit history to see why I made changes)
this is just a small request. although I gave root permission, key mapper does not work when the screen is off, I would appreciate it if you could fix it.
Hi, which trigger are you using?
this is just a small request. although I gave root permission, key mapper does not work when the screen is off, I would appreciate it if you could fix it.
Did you enable this option in your key map?

This should be marked as a bug. Recently needed to reflash my device. Had screen off actions working before, but no longer. Will investigate further another time.
This should be marked as a bug. Recently needed to reflash my device. Had screen off actions working before, but no longer. Will investigate further another time.
Did you change your ROM? This whole features is REAALLLLY janky and on some devices more than others 😃
Turned out to be a visual glitch with Magisk. KeyMapper appeared approved in the UI, but the logs showed it was being revoked. Entirely removing KeyMapper from superuser apps, then re-approving fixed the problem.
Maybe have 'Detect triggers when screen is off' be a global option. Already have constraints for screen and lock states. As a per action option, it's a bit confusing to new users, and repetitive to widely enable.
I think it is better to have it per key map rather than global. To switch it now to global would also break people's setups so I think I'll just leave it as is. This setting is barely used and very few people have loads of key maps that they want to work when the screen is off - usually it is only the volume buttons.
@Berkwe Is this still not working for you? If you still need help please ask in the Help thread in Discussions or on Discord.