[ ] 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
On the latest model of Apple Wireless keyboard, I remapped Alt Right (trigger) to Action (Input KEYCODE_CTRL_RIGHT) Hold Down.
It works, except that when I hold down Alt Right and press say the left arrow key, the cursor sometimes skips two words instead of just one word to the left.
The double word skip happens randomly when typing at normal speed.
If I wait at least one second between left arrow key presses, the random double word skips do not happen.
When using the native control key on the Apple Wireless keyboard in the same Android app (for a fair test) the cursor consistently skips only one word at a time to the left regardless of my typing speed.
The bug still occurs when connecting the keyboard to the Android device through the USB port, so I am fairly certain at this point that the problem lies in how KeyMapper implements remapping a modifier key and is not an artifact of the bluetooth connection.
To Reproduce
See above.
Expected behavior
Remapping a modifier key to another modifier key should be indistinguishable from using the native modifier key. In particular, there should be no phantom second key input events such as the one described above when typing at a normal pace.
Screenshots
If applicable, add screenshots to help explain your problem.
Smartphone (please complete the following information):
Device: [e.g. OnePlus 6T] Samsung S21 + latest model of Apple Wireless Keyboard
Android version: [e.g. Android 10] Android 12
Additional context
Add any other context about the problem here.
Developer TODO (don't remove)
Discord message link/email recipient
Describe the bug On the latest model of Apple Wireless keyboard, I remapped Alt Right (trigger) to Action (Input KEYCODE_CTRL_RIGHT) Hold Down.
It works, except that when I hold down Alt Right and press say the left arrow key, the cursor sometimes skips two words instead of just one word to the left.
The double word skip happens randomly when typing at normal speed.
If I wait at least one second between left arrow key presses, the random double word skips do not happen.
When using the native control key on the Apple Wireless keyboard in the same Android app (for a fair test) the cursor consistently skips only one word at a time to the left regardless of my typing speed.
The bug still occurs when connecting the keyboard to the Android device through the USB port, so I am fairly certain at this point that the problem lies in how KeyMapper implements remapping a modifier key and is not an artifact of the bluetooth connection.
To Reproduce
See above.
Expected behavior
Remapping a modifier key to another modifier key should be indistinguishable from using the native modifier key. In particular, there should be no phantom second key input events such as the one described above when typing at a normal pace.
Screenshots If applicable, add screenshots to help explain your problem.
Smartphone (please complete the following information):
Additional context Add any other context about the problem here.