-
-
Notifications
You must be signed in to change notification settings - Fork 11.7k
Help with keyboard handling and catching some keys #3724
Copy link
Copy link
Closed
Labels
Description
Version/Branch of Dear ImGui:
Version: 1.79
Branch: master
Back-end/Renderer/Compiler/OS
Back-ends: iimgui_impl_glfw.cpp
Compiler: Visual C++ 2019
Operating System: Windows 10
My Issue/Question:
Hello,
I have a couple of questions; I've searched the documentation/examples, but couldn't find the answer.
1) how do you handle pressing some "special" keys like F1 (function keys) or "+" (plus key)? They seem to be missing from io.KeyMap[ImGuiKey_*]
2) which is the proper way of handling keyboard on windows? Currently I'm polling the keyboard with ImGui::IsKeyPressed, but doesn't seem the best way (some keys are retriggered too often).
Thanks
Reactions are currently unavailable