KeyMapper icon indicating copy to clipboard operation
KeyMapper copied to clipboard

Remap sequential key combos while keeping original meaning

Open Dakkaron opened this issue 2 years ago • 4 comments

Say I add a key combination of Alt+P. If I do that, I can still use P for it's regular meaning (typing the character P).

But if I add a sequerntial key combination of Alt -> P, and I press only P without pressing Alt before, pressing P does nothing anymore.

Would it be possible to add an option so that I can still use P to type the character P when I don't press Alt before?

(P is of course only meant as an example, should work for all keys).

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)

Dakkaron avatar Jun 26 '22 08:06 Dakkaron

Hmm, this should not be happening 😂. Can you send a bug report following this guide https://docs.keymapper.club/report-issues/

sds100 avatar Jun 26 '22 12:06 sds100

Developer TODO (don't remove)

  • [ ] create new branch. put issue number at start of name if not a very quick fix.
  • [ ] write tests. put issue number in comment
  • [ ] update documentation
  • [ ] merge and delete branch (don't squash because want commit history to see why I made changes)

Discord message link/email recipient

Describe the bug When creating a sequential mapping, the later keys in the mapping loose their non-sequential functionality.

To Reproduce Create a mapping with Alt -> P and an arbitrary mapping. Pressing P alone now does nothing anymore.

mappings_20220627-103142.zip

Expected behavior Pressing Alt + P should trigger the mapping (this works) Pressing P alone should type the character p (this currently doesn't work)

Smartphone (please complete the following information):

  • Device: Fairphone 4
  • Android version: Android 11

Additional context key_mapper_report_20220627-102840.zip

Dakkaron avatar Jun 27 '22 08:06 Dakkaron

I edited the bug report into my last message, not sure if the edit was seen due to it not sending a new notification.

Dakkaron avatar Jul 10 '22 06:07 Dakkaron

Thanks

sds100 avatar Jul 11 '22 10:07 sds100