Skip to content

Conversation

@rib
Copy link
Member

@rib rib commented Jan 8, 2026

This exposes IME actions via an InputEvent::TextAction event so that it's possible to recognise when text entry via an input method is finished.

This adds an TextInputAction enum to represent the action key on a soft keyboard, such as "Done".

For example, this makes it possible to emit Ime::Commit events in Winit.

Note: this is based on #214 which needs to land before this

This exposes IME actions via an InputEvent::TextAction event so that
it's possible to recognise when text entry via an input method is
finished.

This adds an `TextInputAction` enum to represent the action key on a soft
keyboard, such as "Done".

For example, this makes it possible to emit Ime::Commit events in Winit.
@rib rib requested a review from MarijnS95 January 8, 2026 00:34
@rib
Copy link
Member Author

rib commented Jan 8, 2026

cc: @jb55 @nicoburns it could be good if you're able to take a look at this regarding IME enabling for Android

I've tested this with winit 0.30 + egui in combination with #214 and #215

@rib
Copy link
Member Author

rib commented Jan 8, 2026

If anyone wants to smoke test this then you can try running the agdk-egui example in this rust-android-example branch: https://github.com/rust-mobile/rust-android-examples/tree/rib/wip/ime-test

That example will fetch my draft changes for winit from https://github.com/rib/winit/tree/rib/pr/android-ime-0.30

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

Successfully merging this pull request may close these issues.

2 participants