-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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 input Japanese on Android because the inputtype is password #3377
Comments
@1bsyl, can you back out ccb1245? The problem is that TYPE_TEXT_VARIATION_VISIBLE_PASSWORD is needed to get individual key events, but it needs to be disabled to get IME input. I think what we need to do is remove that flag and then synthesize key events from the IME input where possible. What do you think? |
@slouken ok, I'll back out this commits. I am not really a user of IME input, so I am not sure how to do that for this issue |
why we must get individual key events for english char? i think 1bsyl's commit is ok. |
I'll take a look at this for 2.0.18. The original idea was to provide SDL scancode and keycode events as they are available on other platforms. However we definitely need IME input to work, so maybe for soft keyboards we can reverse engineer the keycodes when IME input arrives. |
We're already doing scancode conversion for IME input text. This needs more investigation and testing, so I'm pushing it to 2.0.20. |
Can you double check this in the latest code? Thanks! |
In my testing, this results in text edit events followed by text input events. Any ASCII characters will generate scancode events based on a hypothetical US keyboard layout. Fixes libsdl-org#3377
This bug report was migrated from our old Bugzilla tracker.
These attachments are available in the static archive:
Reported in version: HG 2.0
Reported for operating system, platform: Android (All), ARM
Comments on the original bug report:
On 2019-08-29 08:48:23 +0000, tamo wrote:
On 2019-08-30 01:39:42 +0000, tamo wrote:
On 2019-08-30 06:39:48 +0000, Sylvain wrote:
On 2019-08-30 15:21:37 +0000, tamo wrote:
On 2019-08-31 12:01:53 +0000, Sylvain wrote:
On 2019-09-01 02:56:46 +0000, tamo wrote:
On 2019-09-01 22:11:23 +0000, Ryan C. Gordon wrote:
On 2019-09-06 07:43:22 +0000, tamo wrote:
On 2019-10-23 09:28:26 +0000, Sylvain wrote:
On 2019-11-28 01:19:45 +0000, Sam Lantinga wrote:
On 2019-11-28 01:21:16 +0000, Sam Lantinga wrote:
On 2019-11-28 09:34:56 +0000, Sylvain wrote:
The text was updated successfully, but these errors were encountered: