KeyMapper icon indicating copy to clipboard operation
KeyMapper copied to clipboard

Ability to use features with the screen off

Open Berkwe opened this issue 4 years ago • 8 comments

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.

Berkwe avatar Jul 14 '22 15:07 Berkwe

Hi, which trigger are you using?

sds100 avatar Jul 14 '22 15:07 sds100

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?

Screenshot_20220715-144214_Key Mapper

NeatNit avatar Jul 15 '22 11:07 NeatNit

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.

sigilnaut avatar Jul 17 '22 14:07 sigilnaut

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 😃

sds100 avatar Jul 20 '22 12:07 sds100

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.

sigilnaut avatar Jul 21 '22 04:07 sigilnaut

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.

sigilnaut avatar Jul 21 '22 05:07 sigilnaut

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.

sds100 avatar Jul 21 '22 14:07 sds100

@Berkwe Is this still not working for you? If you still need help please ask in the Help thread in Discussions or on Discord.

sds100 avatar Jul 21 '22 14:07 sds100