ui icon indicating copy to clipboard operation
ui copied to clipboard

Input Method support

Open ghost opened this issue 4 years ago • 2 comments

V-UI uses sokol as the underlying graphic library, but due to it's limitations, V-UI is unable to support IME now.

So, any knowledge concerning to this is welcomed.

https://github.com/floooh/sokol/issues/595#issuecomment-995091248

Do you know if anything else than the native window handle (e.g. HWND on Windows) would be needed for this (e.g. sokol_app.h currently has the sapp_win32_get_hwnd() and sapp_macos_get_window() to get the native window handle/object on Windows and macOS, but nothing yet for X11.

ghost avatar Dec 17 '21 05:12 ghost

It's been some time already but I saw some multiplatform IME library project which could potentially be used as an optional dependency by Sokol (or if Sokol devs won't do it, then V UI will have to swallow the bitter pill and integrate it itself).

I can't remember the name, but I'd google something like "standalone IME library" or "single header IME library".

dumblob avatar Dec 17 '21 09:12 dumblob

just to mention, sokol input doesn't work at all on Android. Last I looked there were some PR for this in the pipe but no idea if that is coming anytime soon.

xandro0777 avatar Dec 17 '21 22:12 xandro0777