LWJGL Forum

Programming => Lightweight Java Gaming Library => Topic started by: fusilli on March 31, 2004, 02:41:13

Title: Does lwjgl support Chinese or Japanese Input?
Post by: fusilli on March 31, 2004, 02:41:13
Hello!
Forgive my ignorance, I am not familiar with lwjgl.
Does lwjgl support Chinese or Japanese Input(Get GDI IME message),
or support it in the future?
it is important for Asian user.
Title: Does lwjgl support Chinese or Japanese Input?
Post by: Matzon on March 31, 2004, 05:23:36
We haven't actually testet it - so can't confirm one way or the other - you'd just have to try it out :)
Title: Does lwjgl support Chinese or Japanese Input?
Post by: fusilli on March 31, 2004, 07:30:30
Yes, I have tried it out!
But it can not receive IME message.
Does lwjgl use some direct way to access keyboard and avoid GDI message?
Title: Does lwjgl support Chinese or Japanese Input?
Post by: Matzon on March 31, 2004, 16:02:52
Do you not get any input at all? or are you just missing the enumeration for the keys?

LWJGL just copies the 256 byte array of keyboard data provided by DirectInput:
http://cvs.sourceforge.net/viewcvs.py/*checkout*/java-game-lib/LWJGL/src/native/win32/org_lwjgl_input_Keyboard.cpp?rev=HEAD
Title: Does lwjgl support Chinese or Japanese Input?
Post by: Matzon on April 06, 2004, 09:03:28
hmm, I just looked at the IME stuff - and it's easy enough to enable it - I just don't see how it's propegated to the DirectX layer... Maybe you have some good documents on this stuff?
Title: Does lwjgl support Chinese or Japanese Input?
Post by: elias on April 06, 2004, 09:55:10
It's probably only relevant for keyboard translation, which use regular win32 messages, not directx.

 - elias