Rezonality / zep

Zep - An embeddable editor, with optional support for using vim keystrokes.
Other
929 stars 70 forks source link

'A' to 'E' letter keypresses emit F8-F12 when no SDL is used #95

Closed alcz closed 1 year ago

alcz commented 1 year ago

With demo application somewhat ported to use sokol (https://github.com/floooh/sokol) instead of SDL. Key defintions from include/zep/imgui/editor_imgui.h seem to clash with 'A'-'E' range. Pressing 'A' gives <F8> and so on...

Maybe it's just needs a #ifdef guard, like i did: https://github.com/alcz/zepeditor/commit/db6895e66a3289216340d3943677a88395bb7cef

Working with keymaps feels like a huge job.

Thanks for such a cool editor with dear imgui support.

cmaughan commented 1 year ago

A recent change to the code remapped these values to use ImGuiKey_*. Hopefully this is a fix for your issue.