Fusee icon indicating copy to clipboard operation
Fusee copied to clipboard

Re-visit `ImGui.Input`

Open wrestledBearOnce opened this issue 3 years ago • 2 comments

Currently the ImGuiInputDriver is very bare bone and not production ready.

Re-iterate and implement with different keyboard layouts (and languages) and input vs. UTF-8 text output in mind.

@griestopf it would be nice if we could meet and discuss how to achieve a clean and good implementation. We could use something like this: https://stackoverflow.com/a/47409469 (GetEncoding()) alternatively Char.Parse(char, CultureInfo).

wrestledBearOnce avatar Oct 17 '22 09:10 wrestledBearOnce

Also look at https://github.com/FUSEEProjectTeam/Fusee/issues/651 Also look at how Z/Y are (mis-) handled on English/German keyboard layout (Input.Keyboard.IsKeydown('Z') returns the state for the Y key and vice versa).

griestopf avatar Oct 19 '22 12:10 griestopf

Image

RedImp1470 avatar Oct 19 '22 13:10 RedImp1470