mojira.dev
MCPE-157661

Aim Lag when keyboard software is sending too many repeating characters

Steps to reproduce:

  1. Gather Stuff. USB keyboard, USB mouse, OTG Adapter and USB hub.

  2. Make sure that all stuff are compatible with your device. My stuff is compatible. Put them all together lol.

  3. Go to any world or server.

  4. Please Observe and follow steps Carefully.{}

    1. To distinguish, firstly move your mouse as free as you want without pressing the keyboard yet.

    2. Press any letter on your keyboard except those keys you are using to move like "wasd". Press m for instance.

    3. Keep your finger on the key and start to move your mouse. Try to look around and aim on something.

Observed: Choppy Aim while keyboard is pressed and mouse is aiming simultaneously.

Expected: The aim should be as in Windows 10/11 Minecraft. no choppy aim

Any mice is affected. Any phone, any brand, any model.

Temporary Fix 
1. key mapper app https://play.google.com/store/apps/details?id=io.github.sds100.keymapper
2. Tutorial: https://youtu.be/k2vhDmSxm3Q  If you don't want to watch a YouTube video, basically Install this app from the Play Store and set it up. Make sure to turn it's accessibility permission on and make sure to set Keymapper Basic Input Method as your default keyboard. After that, you should remap every key that you use in the game like w, a, s, d, space, shift, ctrl etc... To a button that is held down and not repeating.

Do not reproduce in a VM. Do it at a regular Android Phone.

This bug is due to long pressing a keyboard creates a repetition on what you type like waaaadasdwaad  dwaaaa aaaads ssssssawwwd. AND MINECRAFT HATES THAT. And so it happens.

All Minecraft need is an accessibility permission in the settings to get direct feed from the physical keyboard.

Hope I helped! Have a great day.

Linked issues

Attachments

Comments 10

This bug is on Minecraft. Not on android. I tried to play Nvidia now games that also captures mouse and see no input lag at all.

This applies to all keyboard application out there that takes input as textbox. Minecraft should assume its not a text, it should be assumed as a button.

I can't reproduce this in 1.18.12 or 1.18.30.26 on various Android devices. What device are you using and what version of Android is installed on it?

Yeah the aim lagging so much, I use Android with keyboard and mouse (otg) and I've problem with this bug 

@unknown can you say which Android device? I can't reproduce on any of my Android devices

Oppo Reno 5 & I swear it's not like usually, there is so much lag 

Jonathan Hanzel any phone from android 9, 10 and 11 while using a keyboard that spams letter like oooooooooooooooo with a lot of delay.  Also try the default keyboard as an example.

yes. this issue still here until now. but if u use 3rd party app called keymapper (android playstore) it help with the stutter when moving, u just have to key in every key from your otg keyboard in the app. this kinda help, but this is not a fix from mojang. im shocked when i see this report, it is since 2021. hmm i just bought the game last year. so far we got the stutter and the mouse acceleration in game issue bugs.mojang.com/browse/MCPE-170202

I have resolved the issue: Your phone keyboard is a 3rd party one, like swiftkey. You have to disable that in order to resolve the issue.

7 may 2024, i confirm this issue still occurs and is really making game unplayable. i have tried it on four of my devices (mobiles) and also on my pc (BlissOS 16.9.4 android x86). it happens on every single one of devices

user-12628

No User

(Unassigned)

797944

Community Consensus

Android

Android 9, 10 and 11

Mouse, USB_OTG, keyboard

1.18.32, 1.17.10, 1.18.30, 1.18.31, 1.19.0, 1.19.10

Retrieved