Use SDL-1.3.0-6217.
Application pumps SDL_KEYUP/SDL_KEYDOWN or SDL_TEXTINPUT, it can receive and
process ASCII character.
But I cannot receive Chinese character, why? If want to receive Chinese, how
to do?
Use SDL-1.3.0-6217.
Application pumps SDL_KEYUP/SDL_KEYDOWN or SDL_TEXTINPUT, it can receive and
process ASCII character.
But I cannot receive Chinese character, why? If want to receive Chinese, how
to do?
How do you normally input Chinese on iOS? Can you give me a step-by-step
example assuming I’m typing blind?
If it’s working correctly you would get an SDL_TEXTINPUT event with the
Chinese characters as UTF-8 byte sequences.On Sun, Sep 2, 2012 at 6:57 AM, li zhuo wrote:
Use SDL-1.3.0-6217.****
Application pumps SDL_KEYUP/SDL_KEYDOWN or SDL_TEXTINPUT, it can receive
and process ASCII character.****
But I cannot receive Chinese character, why? If want to receive Chinese,
how to do?****
SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
Pop keyboard by calling UIKit_ShowScreenKeyboard.
Switch input method to globe. Display writing pad on keyobard.
Handwriting Chinese character.
Select a character in right candidate list. If nomal, application should
receive selected character, but I cannot receive any SDL_KEYUP/SDL_KEYDOWN
or SDL_TEXTINPUT event.From: sdl-bounces@lists.libsdl.org [mailto:sdl-bounces at lists.libsdl.org] On
Behalf Of Sam Lantinga
Sent: Monday, September 03, 2012 7:15 AM
To: SDL Development List
Subject: Re: [SDL] How to receive Chinese on iOS keyboard?
How do you normally input Chinese on iOS? Can you give me a step-by-step
example assuming I’m typing blind?
If it’s working correctly you would get an SDL_TEXTINPUT event with the
Chinese characters as UTF-8 byte sequences.
On Sun, Sep 2, 2012 at 6:57 AM, li zhuo <@li_zhuo> wrote:
Use SDL-1.3.0-6217.
Application pumps SDL_KEYUP/SDL_KEYDOWN or SDL_TEXTINPUT, it can receive and
process ASCII character.
But I cannot receive Chinese character, why? If want to receive Chinese, how
to do?
SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
How do you switch input method? I’ve never used asian languages on the
iPhone.
Thanks!On Sun, Sep 2, 2012 at 5:23 PM, li zhuo wrote:
Pop keyboard by calling UIKit_ShowScreenKeyboard.****
Switch input method to globe. Display writing pad on keyobard.****
Handwriting Chinese character.****
Select a character in right candidate list. If nomal, application
should receive selected character, but I cannot receive any
SDL_KEYUP/SDL_KEYDOWN or SDL_TEXTINPUT event.****
From: sdl-bounces at lists.libsdl.org [mailto:sdl-bounces at lists.libsdl.org]
On Behalf Of Sam Lantinga
Sent: Monday, September 03, 2012 7:15 AM
To: SDL Development List
Subject: Re: [SDL] How to receive Chinese on iOS keyboard?**
How do you normally input Chinese on iOS? Can you give me a step-by-step
example assuming I’m typing blind? :)****
If it’s working correctly you would get an SDL_TEXTINPUT event with the
Chinese characters as UTF-8 byte sequences.****On Sun, Sep 2, 2012 at 6:57 AM, li zhuo wrote:****
Use SDL-1.3.0-6217.****
Application pumps SDL_KEYUP/SDL_KEYDOWN or SDL_TEXTINPUT, it can receive
and process ASCII character.****
But I cannot receive Chinese character, why? If want to receive Chinese,
how to do?****
SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org****
SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
Sam,
Settings -> General -> Keyboard -> International Keyboards -> Add New
Keyboard
If more than one keyboard is enabled, there will be a Globe button to
the left of the space bar which will allow for switching.
Thanks,
?
Alex Markley
740.927.3588
http://MarkleyBros.comOn 09/03/2012 01:20 AM, Sam Lantinga wrote:
How do you switch input method? I’ve never used asian languages on
the iPhone.Thanks!
On Sun, Sep 2, 2012 at 5:23 PM, li zhuo <zuoli at zowietek.cn <mailto:zuoli at zowietek.cn>> wrote:
1. Pop keyboard by calling UIKit_ShowScreenKeyboard. 2. Switch input method to globe. Display writing pad on keyobard. 3. Handwriting Chinese character. 4. Select a character in right candidate list. If nomal, application should receive selected character, but I cannot receive any SDL_KEYUP/SDL_KEYDOWN or SDL_TEXTINPUT event. *From:*sdl-bounces at lists.libsdl.org <mailto:sdl-bounces at lists.libsdl.org> [mailto:sdl-bounces at lists.libsdl.org <mailto:sdl-bounces at lists.libsdl.org>] *On Behalf Of *Sam Lantinga *Sent:* Monday, September 03, 2012 7:15 AM *To:* SDL Development List *Subject:* Re: [SDL] How to receive Chinese on iOS keyboard? How do you normally input Chinese on iOS? Can you give me a step-by-step example assuming I'm typing blind? :) If it's working correctly you would get an SDL_TEXTINPUT event with the Chinese characters as UTF-8 byte sequences. On Sun, Sep 2, 2012 at 6:57 AM, li zhuo <zuoli at zowietek.cn <mailto:zuoli at zowietek.cn>> wrote: Use SDL-1.3.0-6217. Application pumps SDL_KEYUP/SDL_KEYDOWN or SDL_TEXTINPUT, it can receive and process ASCII character. But I cannot receive Chinese character, why? If want to receive Chinese, how to do? _______________________________________________ SDL mailing list SDL at lists.libsdl.org <mailto:SDL at lists.libsdl.org> http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org _______________________________________________ SDL mailing list SDL at lists.libsdl.org <mailto:SDL at lists.libsdl.org> http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
In order to describe more intuitionistic, I upload
picture(http://www.freeors.com/download/ios-chinese.png) of displaying
"writing pad" after switching input method.
Great, thanks everyone! I’ll take a look at it when I get a chance.
(If somebody else wants to beat me to it, go for it! :)On Sun, Sep 2, 2012 at 10:20 PM, Sam Lantinga <@slouken> wrote:
How do you switch input method? I’ve never used asian languages on the
iPhone.Thanks!
On Sun, Sep 2, 2012 at 5:23 PM, li zhuo wrote:
Pop keyboard by calling UIKit_ShowScreenKeyboard.****
Switch input method to globe. Display writing pad on keyobard.****
Handwriting Chinese character.****
Select a character in right candidate list. If nomal, application
should receive selected character, but I cannot receive any
SDL_KEYUP/SDL_KEYDOWN or SDL_TEXTINPUT event.****
From: sdl-bounces at lists.libsdl.org [mailto:sdl-bounces at lists.libsdl.org]
On Behalf Of Sam Lantinga
Sent: Monday, September 03, 2012 7:15 AM
To: SDL Development List
Subject: Re: [SDL] How to receive Chinese on iOS keyboard?**
How do you normally input Chinese on iOS? Can you give me a step-by-step
example assuming I’m typing blind? :)****
If it’s working correctly you would get an SDL_TEXTINPUT event with the
Chinese characters as UTF-8 byte sequences.****On Sun, Sep 2, 2012 at 6:57 AM, li zhuo wrote:****
Use SDL-1.3.0-6217.****
Application pumps SDL_KEYUP/SDL_KEYDOWN or SDL_TEXTINPUT, it can receive
and process ASCII character.****
But I cannot receive Chinese character, why? If want to receive Chinese,
how to do?****
SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org****
SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
I’m using SDL1.3.
In SDL_uikitevents.m, change the pump events function like this:
if (setjmp(*jump_env()) == 0) {
/* if we're setting the jump, rather than jumping back */ SInt32 result; do { result = CFRunLoopRunInMode(kCFRunLoopDefaultMode, *0.001*,
TRUE);
} while (result == kCFRunLoopRunHandledSource);
// CFRunLoopRun();
}
2012/9/3 Sam Lantinga > Great, thanks everyone! I’ll take a look at it when I get a chance.
(If somebody else wants to beat me to it, go for it!
On Sun, Sep 2, 2012 at 10:20 PM, Sam Lantinga wrote:
How do you switch input method? I’ve never used asian languages on the
iPhone.Thanks!
On Sun, Sep 2, 2012 at 5:23 PM, li zhuo wrote:
Pop keyboard by calling UIKit_ShowScreenKeyboard.****
Switch input method to globe. Display writing pad on keyobard.****
Handwriting Chinese character.****
Select a character in right candidate list. If nomal, application
should receive selected character, but I cannot receive any
SDL_KEYUP/SDL_KEYDOWN or SDL_TEXTINPUT event.****
From: sdl-bounces at lists.libsdl.org [mailto:
sdl-bounces at lists.libsdl.org] On Behalf Of Sam Lantinga
Sent: Monday, September 03, 2012 7:15 AM
To: SDL Development List
Subject: Re: [SDL] How to receive Chinese on iOS keyboard?**
How do you normally input Chinese on iOS? Can you give me a
step-by-step example assuming I’m typing blind? :)****
If it’s working correctly you would get an SDL_TEXTINPUT event with the
Chinese characters as UTF-8 byte sequences.****On Sun, Sep 2, 2012 at 6:57 AM, li zhuo wrote:****
Use SDL-1.3.0-6217.****
Application pumps SDL_KEYUP/SDL_KEYDOWN or SDL_TEXTINPUT, it can receive
and process ASCII character.****
But I cannot receive Chinese character, why? If want to receive Chinese,
how to do?****
SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org****
SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
–
Best Regards