KeyMapper icon indicating copy to clipboard operation
KeyMapper copied to clipboard

Caplocks to Escape problems

Open tuanpham-dev opened this issue 3 years ago • 5 comments

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
  • [ ] squash and merge
  • [ ] delete branch

Discord message link/email recipient

Describe the bug

  • Some alt + key don't work. It seems keyboard layout is not en-us.
  • Escape on termux does not work.

To Reproduce Steps to reproduce the behavior:

  • Map Caplocks to Escape.
  • Change default keyboard to KeyMapper Basic Input.
  • Change layout to Caplocks to Camera.
  • Try Alt + N, it generates ~ instead of Alt + N.
  • Try press Caplocks on Termux console, it does not fire Escape key event.

Upload a backup of your keymaps. (Follow the guide here.)[https://keymapperorg.github.io/KeyMapper/user-guide/backup-restore]

Expected behavior

  • Try Alt + N, it generates ~ instead of Alt + N.
  • Try press Caplocks on Termux console, it does not fire Escape key event.

Smartphone (please complete the following information):

  • Device: Samsung Note 10+
  • Android version: Android 11

tuanpham-dev avatar Feb 07 '22 16:02 tuanpham-dev

Hi. This might be caused by this issue: https://docs.keymapper.club/known-issues/#external-keyboard-language-is-set-to-english-us-when-using-key-mapper-android-11-only . The description of this issue is different but it may be the same root cause so please read that link to try and fix it.

sds100 avatar Feb 07 '22 17:02 sds100

Thank you for the fast response @sds100 . Unfortunately, it did not fix my issue. My issue is reverted to that. After choosing Caps Lock to Camera layout, the keyboard layout seems to be English (US), International style but what I want is English (US), Qwerty style. Also, there is another problem is that pressing Caps Lock does not fire Escape key on Termux (vim in my case).

tuanpham-dev avatar Feb 08 '22 00:02 tuanpham-dev

@tuanpham-dev Same issus, chose Caps Lock to Camera layout, and remapping Camera to Ctrl left key not fire on Termux.

If chose Englinsh US layout, and remapping Caps Lokc to Ctrl left key, it's working on Termux, but will fired Caps Lock state after press the key.

consatan avatar Nov 14 '22 06:11 consatan

@consatan - I ended up using this app https://exkeymo.herokuapp.com/ and it is serving me pretty well. Add the following to the input -> click download -> install the app -> change keyboard layout to Custom.

type OVERLAY

map key 1 CAPS_LOCK

tuanpham-dev avatar Nov 14 '22 07:11 tuanpham-dev

@consatan - I ended up using this app https://exkeymo.herokuapp.com/ and it is serving me pretty well. Add the following to the input -> click download -> install the app -> change keyboard layout to Custom.

type OVERLAY

map key 1 CAPS_LOCK

it's working for me, thank you!!

consatan avatar Nov 15 '22 12:11 consatan