127 Commits (6cc967a124f59296e52c827299812a7e37a97b4c)

Author SHA1 Message Date
slowriot 6cc967a124
Backends: GLFW: Only enable Vulkan support if not building with Emscripten (#6468) ago%!(EXTRA string=2 years)
omar 2e810d575c
Backends: GLFW: Fix breaking typo 19b436f68 (#5683, #6459) ago%!(EXTRA string=2 years)
ocornut 19b436f68d Backends: GLFW: Preserve monitor list when there are no monitor. (#5683) ago%!(EXTRA string=2 years)
ocornut adf693c061 Viewports: added void* ImGuiPlatformMonitor::PlatformHandle field (backend-dependant). ago%!(EXTRA string=2 years)
ocornut 1f2b84a654 Backends: clear viewport specific bits in io.BackendFlags on backend Shutdown(). (#6334) ago%!(EXTRA string=2 years)
Gereon V 055e71518e Backends: clear bits set in io.BackendFlags on backend Shutdown(). Clear BackendPlatformName. (#6334, #6335) ago%!(EXTRA string=2 years)
ocornut bed11b35d1 Fix typos and use nullptr in backends. Amend 506f7e0 ago%!(EXTRA string=2 years)
Michael Martz 506f7e0074 Using nullptr in locations where warning disable is not convenient. (#6313, #4537) ago%!(EXTRA string=2 years)
ocornut f070497cbd Backends: Win32/SDL2/SDL3/GLFW: Added support for io.AddMouseSourceEvent(). (#2334, #2702) ago%!(EXTRA string=2 years)
Aiekick 91577c7f51 Backends: GLFW: Fixed key modifiers handling on secondary viewports. (#6248, #6034) ago%!(EXTRA string=2 years)
ocornut 85beda96de Backends: GLFW: Fix Emscripten erroneously enabling multi-viewport support, leading to assert. (#5683) ago%!(EXTRA string=2 years)
ocornut e39c2552ac Backends: GLFW: Avoid using glfwGetError() and glfwGetGamepadState() on Emscripten. (#6240) ago%!(EXTRA string=2 years)
ocornut 85395b76b0 CI: Update versions. ago%!(EXTRA string=2 years)
ocornut e816bc6723 Merge misc changes from docking branch to reduce small drift. ago%!(EXTRA string=2 years)
ocornut a085581057 Backends: GLFW: added ImGui_ImplGlfw_SetCallbacksChainForAllWindows(). (#6142) ago%!(EXTRA string=2 years)
ocornut d0b1aaa076 Backends: GLFW: Registering custom low-level mouse wheel handler to get more accurate scrolling impulses on Emscripten. (#4019, #6096) ago%!(EXTRA string=2 years)
ocornut 1f1861dae6 Backends: Added support for SDL 2.0.18+ preciseX/preciseY mouse wheel data for smooth scrolling + scaling for Emscripten. (#4019, #6096) ago%!(EXTRA string=2 years)
ocornut 624c057ae1 Backends: GLFW: revert flipping mouse-wheel axis for Emscripten. (#4019) ago%!(EXTRA string=2 years)
ocornut 0370856d78 Backends: GLFW: Removed mouse-wheel value scaling for Emscripten. (#4019, #6096, #6081) ago%!(EXTRA string=2 years)
ocornut 3617a96372 Backends, Inputs: Made horizontal scroll wheel and horizontal scroll direction consistent accross backends/os. (#4019, #6096, #1463) ago%!(EXTRA string=2 years)
Cody Tapscott 6342275bbb Backends: GLFW: Handle unsupported glfwGetVideoMode() for Emscripten. (#6096) ago%!(EXTRA string=2 years)
ocornut 1f6e62a4ae Backends: GLFW: Fixed mods state on Linux with Alt-GR text input (e.g. German keyboard layout), (#6034) ago%!(EXTRA string=2 years)
ocornut 16476f99fd Backends: GLFW: cancel out errors emitted by glfwGetKeyName() when a name is missing. (#5908) ago%!(EXTRA string=2 years)
ocornut ab6e48b833 Backends: GLFW: Perform a dummy glfwGetError() read to cancel missing mouse cursors errors. (#5785) ago%!(EXTRA string=3 years)
ocornut c54230d14e Backends: Using nullptr instead of NULL. (#5760, #4537) + fix additional warnings. ago%!(EXTRA string=3 years)
ocornut fd408c9790 Renamed and merged keyboard modifiers key enums and flags into a same set:. ImGuiKey_ModXXX -> ImGuiMod_XXX and ImGuiModFlags_XXX -> ImGuiMod_XXX. (#4921, #456) ago%!(EXTRA string=3 years)
scorpion-26 5867a43dc8 Backends: GLFW: Honor GLFW_CURSOR_DISABLED by not setting mouse position. (#5625) ago%!(EXTRA string=3 years)
ocornut e99c4fc668 Nav: fixes keyboard/gamepad nav actions running without the corresponding config flags (#5504). Fixes 8b8a61b. #4921, #4858, #787, #1599, #323) ago%!(EXTRA string=3 years)
ocornut 90ef327882 Reordered keys representing directions to follow a consistent L/R/U/D order everywhere. (#2625, #4921, #3724) ago%!(EXTRA string=3 years)
Runik 58eb40db76 Backends: GLFW: Fixed leftover static variable preventing from changing or reinitializing backend while application is running. (#4616, #5434) ago%!(EXTRA string=3 years)
rokups 101aec95d9 Backends: SDL+GLFW, Examples: SDL+Metal, GLFW+Metal: Fix viewport support with Metal backend. ago%!(EXTRA string=3 years)
cpichard 709bc03d6f Backends: GLFW: fixed ImGui_ImplGlfw_TranslateUntranslatedKey() for lower case letters on OSX (#5260, #5261) ago%!(EXTRA string=3 years)
Rokas Kupstys 1ad8ad623e Backends: GLFW: Fixed keyboard modifiers events being reported incorrectly on Linux/X11. ago%!(EXTRA string=3 years)
ocornut fd06ed833b Misc: tweaks + fix warnings on backends withtout -wno-memaccess (#4995, #5104) ago%!(EXTRA string=3 years)
ocornut e52bb147a7 Backends: GLFW: Added ImGui_ImplGlfw_InstallCallbacks()/ImGui_ImplGlfw_RestoreCallbacks(). (#4981) ago%!(EXTRA string=3 years)
ocornut 732bc2058e Backends: GLFW: Handle spurious leave/enter sequences apparently submitted by X11/GLFW combo. (#4984) ago%!(EXTRA string=3 years)
ocornut 43177324c0 Backends: GLFW: Fixed miss untranslation of keypad keys. (#4921, #452) ago%!(EXTRA string=3 years)
ocornut c906c65cac (BREAKING) Replaced AddKeyModsEvent() added by 790132a in favor of unified key enum system. Backends: update most. (#4921, #4858) ago%!(EXTRA string=3 years)
ocornut 4caf1e9b59 Backends: GLFW: fix ImGui_ImplGlfw_TranslateUntranslatedKey() for grave accents. (#456, #2625) + fix preceeding commit. ago%!(EXTRA string=3 years)
ocornut 62d6be3747 IO: Removed ImGuiInputSource from public api for now, unnecessary. (#4858, #787) ago%!(EXTRA string=3 years)
ocornut 3d85433748 Backends: GLFW: Add full gamepad support using io.AddKeyEvent(), io.AddKeyAnalogEvent(), stopped writing to io.NavInputs[]. (#4858, #787) ago%!(EXTRA string=3 years)
ocornut e278277d53 IO: added AddMouseViewportEvent() + used in backends. ago%!(EXTRA string=3 years)
ocornut 1338eb31f7 Viewports: Relaxed specs for backend supporting ImGuiBackendFlags_HasMouseHoveredViewport. Backends: SDL: Added support for simplified HasMouseHoveredViewport. (#1542, #4665) ago%!(EXTRA string=3 years)
thedmd b8e56dce83 IO: Added AddMousePosEvent(), AddMouseButtonEvent(), AddMouseWheelEvent() api + updated all Backends. (#4858) (input queue code will be next commit) ago%!(EXTRA string=3 years)
ocornut 92c4ff1c2f Rename ImGuiKey_LeftControl to ImGuiKey_LeftCtrl, ImGuiKey_RightControl to ImGuiKey_RightCtrl + made key order match mods order. (#4858) ago%!(EXTRA string=3 years)
ocornut 0755767440 Backends: move io.AddKeyModsEvent() next to io.AddKeyEvent() submission, rely on mods from platform/source. (#4858) + fix #2622 again broken by 746c9f7 ago%!(EXTRA string=3 years)
RandomErrorMessage 45c4365ec3 Backends: GLFW: glfwGetKeyName is not implemented in emscripten (#4907, #4858) ago%!(EXTRA string=3 years)
ocornut 200a8f1ea2 Backends: GLFW: Update mouse inputs using glfwSetCursorPosCallback() (breaking) + fallback to provide it when focused but not hovered/captured + update MousePos before MouseButtons. ago%!(EXTRA string=3 years)
ocornut acfc7798fd Rename io.AddKeyModEvent() -> io.AddKeyModsEvent() and updated backends accordingly. (#2625, #4858) ago%!(EXTRA string=3 years)
ocornut e8172fdfbc Rename io.AddKeyModEvent() -> io.AddKeyModsEvent() and updated backends accordingly. (#2625, #4858) ago%!(EXTRA string=3 years)