Searched refs:KeysDown (Results 1 – 5 of 5) sorted by relevance
142 io.KeyAlt = io.KeysDown[static_cast<int>(skui::Key::kOption)]; in onPrePaint()143 io.KeyCtrl = io.KeysDown[static_cast<int>(skui::Key::kCtrl)]; in onPrePaint()144 io.KeyShift = io.KeysDown[static_cast<int>(skui::Key::kShift)]; in onPrePaint()145 io.KeySuper = io.KeysDown[static_cast<int>(skui::Key::kSuper)]; in onPrePaint()223 io.KeysDown[static_cast<int>(key)] = (skui::InputState::kDown == state); in onKey()
102 io.KeyAlt = io.KeysDown[static_cast<int>(Window::Key::kOption)]; in onPrePaint()103 io.KeyCtrl = io.KeysDown[static_cast<int>(Window::Key::kCtrl)]; in onPrePaint()104 io.KeyShift = io.KeysDown[static_cast<int>(Window::Key::kShift)]; in onPrePaint()180 io.KeysDown[static_cast<int>(key)] = (Window::kDown_InputState == state); in onKey()
124 io.KeysDown[gdk_key_to_imgui_key[i].imgui] = type == GDK_KEY_PRESS; in ImGui_ImplGtk3_HandleEvent()127 if (g_unichar_isprint(c) && ImGuiKey_COUNT + c < ARRAY_SIZE(io.KeysDown)) in ImGui_ImplGtk3_HandleEvent()128 io.KeysDown[ImGuiKey_COUNT + c] = type == GDK_KEY_PRESS; in ImGui_ImplGtk3_HandleEvent()
3377 …IM_ASSERT(g.IO.KeyMap[n] >= -1 && g.IO.KeyMap[n] < IM_ARRAYSIZE(g.IO.KeysDown) && "io.KeyMap[] con… in NewFrame()3469 for (int i = 0; i < IM_ARRAYSIZE(g.IO.KeysDown); i++) in NewFrame()3470 …g.IO.KeysDownDuration[i] = g.IO.KeysDown[i] ? (g.IO.KeysDownDuration[i] < 0.0f ? 0.0f : g.IO.KeysD… in NewFrame()4033 IM_ASSERT(user_key_index >= 0 && user_key_index < IM_ARRAYSIZE(GImGui->IO.KeysDown)); in IsKeyDown()4034 return GImGui->IO.KeysDown[user_key_index]; in IsKeyDown()4052 IM_ASSERT(key_index >= 0 && key_index < IM_ARRAYSIZE(g.IO.KeysDown)); in GetKeyPressedAmount()4062 IM_ASSERT(user_key_index >= 0 && user_key_index < IM_ARRAYSIZE(g.IO.KeysDown)); in IsKeyPressed()4075 IM_ASSERT(user_key_index >= 0 && user_key_index < IM_ARRAYSIZE(g.IO.KeysDown)); in IsKeyReleased()4076 return g.IO.KeysDownDurationPrev[user_key_index] >= 0.0f && !g.IO.KeysDown[user_key_index]; in IsKeyReleased()
1358 …bool KeysDown[512]; // Keyboard keys that are pressed (ideally left in the… member