Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot use input method #164

Open
huangguiniab opened this issue Jul 14, 2021 · 1 comment
Open

Cannot use input method #164

huangguiniab opened this issue Jul 14, 2021 · 1 comment

Comments

@huangguiniab
Copy link

I usually use Chinese for conversation, so I need to use the input method, but I found that I cannot switch the input method in minecraft. After looking up the code, I think I have located the problem

XSetLocaleModifiers ("@im=none");

The input method seems to be disabled here, but modifying this will cause minecraft to be unable to read keyboard input, and it is still impossible to switch the input method in the game, so there should be other places that need to be changed. What should I need to do?

@PumpkinXD
Copy link

PumpkinXD commented Aug 8, 2022

I usually use Chinese for conversation, so I need to use the input method, but I found that I cannot switch the input method in minecraft. After looking up the code, I think I have located the problem

XSetLocaleModifiers ("@im=none");

The input method seems to be disabled here, but modifying this will cause minecraft to be unable to read keyboard input, and it is still impossible to switch the input method in the game, so there should be other places that need to be changed. What should I need to do?

according to https://www.bilibili.com/read/cv4246084/ and axer's blog
you need to change this line to fix the issue

BTW you may want to blame this commit (they thought ime blocked their input and they prob dont use ime ingame)

(and there's a pr that fixed the issue, idk why they don't merge for good)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants