[Internal] Do not use directly
| 10140 | |
| 10141 | // [Internal] Do not use directly |
| 10142 | static ImGuiKeyChord GetMergedModsFromKeys() |
| 10143 | { |
| 10144 | // Bypass IsKeyDown() for the unlikely case where user used a ImGuiInputFlags_LockXXXX on those. |
| 10145 | ImGuiKeyChord mods = 0; |
| 10146 | if (ImGui::GetKeyData(ImGuiMod_Ctrl)->Down) { mods |= ImGuiMod_Ctrl; } |
| 10147 | if (ImGui::GetKeyData(ImGuiMod_Shift)->Down) { mods |= ImGuiMod_Shift; } |
| 10148 | if (ImGui::GetKeyData(ImGuiMod_Alt)->Down) { mods |= ImGuiMod_Alt; } |
| 10149 | if (ImGui::GetKeyData(ImGuiMod_Super)->Down) { mods |= ImGuiMod_Super; } |
| 10150 | return mods; |
| 10151 | } |
| 10152 | |
| 10153 | static void ImGui::UpdateKeyboardInputs() |
| 10154 | { |
no test coverage detected