Skip to content
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

sokol_imgui.h: Updated imgui keypad enter constant #627

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion util/sokol_imgui.h
Expand Up @@ -1682,7 +1682,7 @@ SOKOL_API_IMPL void simgui_setup(const simgui_desc_t* desc) {
io->KeyMap[ImGuiKey_Backspace] = SAPP_KEYCODE_BACKSPACE;
io->KeyMap[ImGuiKey_Space] = SAPP_KEYCODE_SPACE;
io->KeyMap[ImGuiKey_Enter] = SAPP_KEYCODE_ENTER;
io->KeyMap[ImGuiKey_KeyPadEnter] = SAPP_KEYCODE_KP_ENTER;
io->KeyMap[ImGuiKey_KeypadEnter] = SAPP_KEYCODE_KP_ENTER;
io->KeyMap[ImGuiKey_Escape] = SAPP_KEYCODE_ESCAPE;
if (!_simgui.desc.disable_hotkeys) {
io->KeyMap[ImGuiKey_A] = SAPP_KEYCODE_A;
Expand Down