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?
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
lwjgl/src/native/linux/org_lwjgl_opengl_LinuxKeyboard.c
Line 87 in 2df01dd
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?