Home
last modified time | relevance | path

Searched refs:KeysDown (Results 1 – 25 of 167) sorted by relevance

1234567

/dports/math/curv/curv-0.5/extern/imgui/examples/
H A Dimgui_impl_freeglut.cpp105 io.KeysDown[c] = io.KeysDown[c - 1 + 'a'] = io.KeysDown[c - 1 + 'A'] = true; in ImGui_ImplFreeGLUT_KeyboardFunc()
107 io.KeysDown[c] = io.KeysDown[c - 'a' + 'A'] = true; in ImGui_ImplFreeGLUT_KeyboardFunc()
109 io.KeysDown[c] = io.KeysDown[c - 'A' + 'a'] = true; in ImGui_ImplFreeGLUT_KeyboardFunc()
111 io.KeysDown[c] = true; in ImGui_ImplFreeGLUT_KeyboardFunc()
121 io.KeysDown[c] = io.KeysDown[c - 1 + 'a'] = io.KeysDown[c - 1 + 'A'] = false; in ImGui_ImplFreeGLUT_KeyboardUpFunc()
123 io.KeysDown[c] = io.KeysDown[c - 'a' + 'A'] = false; in ImGui_ImplFreeGLUT_KeyboardUpFunc()
125 io.KeysDown[c] = io.KeysDown[c - 'A' + 'a'] = false; in ImGui_ImplFreeGLUT_KeyboardUpFunc()
127 io.KeysDown[c] = false; in ImGui_ImplFreeGLUT_KeyboardUpFunc()
136 if (key + 256 < IM_ARRAYSIZE(io.KeysDown)) in ImGui_ImplFreeGLUT_SpecialFunc()
137 io.KeysDown[key + 256] = true; in ImGui_ImplFreeGLUT_SpecialFunc()
[all …]
H A Dimgui_impl_glfw.cpp87 io.KeysDown[key] = true; in ImGui_ImplGlfw_KeyCallback()
89 io.KeysDown[key] = false; in ImGui_ImplGlfw_KeyCallback()
92 io.KeyCtrl = io.KeysDown[GLFW_KEY_LEFT_CONTROL] || io.KeysDown[GLFW_KEY_RIGHT_CONTROL]; in ImGui_ImplGlfw_KeyCallback()
93 io.KeyShift = io.KeysDown[GLFW_KEY_LEFT_SHIFT] || io.KeysDown[GLFW_KEY_RIGHT_SHIFT]; in ImGui_ImplGlfw_KeyCallback()
94 io.KeyAlt = io.KeysDown[GLFW_KEY_LEFT_ALT] || io.KeysDown[GLFW_KEY_RIGHT_ALT]; in ImGui_ImplGlfw_KeyCallback()
95 io.KeySuper = io.KeysDown[GLFW_KEY_LEFT_SUPER] || io.KeysDown[GLFW_KEY_RIGHT_SUPER]; in ImGui_ImplGlfw_KeyCallback()
/dports/graphics/milton/milton-1.9.1/third_party/imgui/examples/
H A Dimgui_impl_freeglut.cpp109 io.KeysDown[c] = io.KeysDown[c - 1 + 'a'] = io.KeysDown[c - 1 + 'A'] = true; in ImGui_ImplFreeGLUT_KeyboardFunc()
111 io.KeysDown[c] = io.KeysDown[c - 'a' + 'A'] = true; in ImGui_ImplFreeGLUT_KeyboardFunc()
113 io.KeysDown[c] = io.KeysDown[c - 'A' + 'a'] = true; in ImGui_ImplFreeGLUT_KeyboardFunc()
115 io.KeysDown[c] = true; in ImGui_ImplFreeGLUT_KeyboardFunc()
125 io.KeysDown[c] = io.KeysDown[c - 1 + 'a'] = io.KeysDown[c - 1 + 'A'] = false; in ImGui_ImplFreeGLUT_KeyboardUpFunc()
127 io.KeysDown[c] = io.KeysDown[c - 'a' + 'A'] = false; in ImGui_ImplFreeGLUT_KeyboardUpFunc()
129 io.KeysDown[c] = io.KeysDown[c - 'A' + 'a'] = false; in ImGui_ImplFreeGLUT_KeyboardUpFunc()
131 io.KeysDown[c] = false; in ImGui_ImplFreeGLUT_KeyboardUpFunc()
140 if (key + 256 < IM_ARRAYSIZE(io.KeysDown)) in ImGui_ImplFreeGLUT_SpecialFunc()
141 io.KeysDown[key + 256] = true; in ImGui_ImplFreeGLUT_SpecialFunc()
[all …]
H A Dimgui_impl_glfw.cpp105 io.KeysDown[key] = true; in ImGui_ImplGlfw_KeyCallback()
107 io.KeysDown[key] = false; in ImGui_ImplGlfw_KeyCallback()
110 io.KeyCtrl = io.KeysDown[GLFW_KEY_LEFT_CONTROL] || io.KeysDown[GLFW_KEY_RIGHT_CONTROL]; in ImGui_ImplGlfw_KeyCallback()
111 io.KeyShift = io.KeysDown[GLFW_KEY_LEFT_SHIFT] || io.KeysDown[GLFW_KEY_RIGHT_SHIFT]; in ImGui_ImplGlfw_KeyCallback()
112 io.KeyAlt = io.KeysDown[GLFW_KEY_LEFT_ALT] || io.KeysDown[GLFW_KEY_RIGHT_ALT]; in ImGui_ImplGlfw_KeyCallback()
113 io.KeySuper = io.KeysDown[GLFW_KEY_LEFT_SUPER] || io.KeysDown[GLFW_KEY_RIGHT_SUPER]; in ImGui_ImplGlfw_KeyCallback()
/dports/devel/nextpnr/nextpnr-48cd407/3rdparty/imgui/examples/
H A Dimgui_impl_freeglut.cpp106 io.KeysDown[c] = io.KeysDown[c - 1 + 'a'] = io.KeysDown[c - 1 + 'A'] = true; in ImGui_ImplFreeGLUT_KeyboardFunc()
108 io.KeysDown[c] = io.KeysDown[c - 'a' + 'A'] = true; in ImGui_ImplFreeGLUT_KeyboardFunc()
110 io.KeysDown[c] = io.KeysDown[c - 'A' + 'a'] = true; in ImGui_ImplFreeGLUT_KeyboardFunc()
112 io.KeysDown[c] = true; in ImGui_ImplFreeGLUT_KeyboardFunc()
122 io.KeysDown[c] = io.KeysDown[c - 1 + 'a'] = io.KeysDown[c - 1 + 'A'] = false; in ImGui_ImplFreeGLUT_KeyboardUpFunc()
124 io.KeysDown[c] = io.KeysDown[c - 'a' + 'A'] = false; in ImGui_ImplFreeGLUT_KeyboardUpFunc()
126 io.KeysDown[c] = io.KeysDown[c - 'A' + 'a'] = false; in ImGui_ImplFreeGLUT_KeyboardUpFunc()
128 io.KeysDown[c] = false; in ImGui_ImplFreeGLUT_KeyboardUpFunc()
137 if (key + 256 < IM_ARRAYSIZE(io.KeysDown)) in ImGui_ImplFreeGLUT_SpecialFunc()
138 io.KeysDown[key + 256] = true; in ImGui_ImplFreeGLUT_SpecialFunc()
[all …]
H A Dimgui_impl_glfw.cpp87 io.KeysDown[key] = true; in ImGui_ImplGlfw_KeyCallback()
89 io.KeysDown[key] = false; in ImGui_ImplGlfw_KeyCallback()
92 io.KeyCtrl = io.KeysDown[GLFW_KEY_LEFT_CONTROL] || io.KeysDown[GLFW_KEY_RIGHT_CONTROL]; in ImGui_ImplGlfw_KeyCallback()
93 io.KeyShift = io.KeysDown[GLFW_KEY_LEFT_SHIFT] || io.KeysDown[GLFW_KEY_RIGHT_SHIFT]; in ImGui_ImplGlfw_KeyCallback()
94 io.KeyAlt = io.KeysDown[GLFW_KEY_LEFT_ALT] || io.KeysDown[GLFW_KEY_RIGHT_ALT]; in ImGui_ImplGlfw_KeyCallback()
95 io.KeySuper = io.KeysDown[GLFW_KEY_LEFT_SUPER] || io.KeysDown[GLFW_KEY_RIGHT_SUPER]; in ImGui_ImplGlfw_KeyCallback()
/dports/graphics/openvkl/openvkl-1.1.0/examples/interactive/imgui-1.83/backends/
H A Dimgui_impl_glut.cpp133 io.KeysDown[c] = io.KeysDown[c - 1 + 'a'] = io.KeysDown[c - 1 + 'A'] = true; in ImGui_ImplGLUT_KeyboardFunc()
135 io.KeysDown[c] = io.KeysDown[c - 'a' + 'A'] = true; in ImGui_ImplGLUT_KeyboardFunc()
137 io.KeysDown[c] = io.KeysDown[c - 'A' + 'a'] = true; in ImGui_ImplGLUT_KeyboardFunc()
139 io.KeysDown[c] = true; in ImGui_ImplGLUT_KeyboardFunc()
149 io.KeysDown[c] = io.KeysDown[c - 1 + 'a'] = io.KeysDown[c - 1 + 'A'] = false; in ImGui_ImplGLUT_KeyboardUpFunc()
151 io.KeysDown[c] = io.KeysDown[c - 'a' + 'A'] = false; in ImGui_ImplGLUT_KeyboardUpFunc()
153 io.KeysDown[c] = io.KeysDown[c - 'A' + 'a'] = false; in ImGui_ImplGLUT_KeyboardUpFunc()
155 io.KeysDown[c] = false; in ImGui_ImplGLUT_KeyboardUpFunc()
164 if (key + 256 < IM_ARRAYSIZE(io.KeysDown)) in ImGui_ImplGLUT_SpecialFunc()
165 io.KeysDown[key + 256] = true; in ImGui_ImplGLUT_SpecialFunc()
[all …]
H A Dimgui_impl_glfw.cpp165 if (key >= 0 && key < IM_ARRAYSIZE(io.KeysDown)) in ImGui_ImplGlfw_KeyCallback()
169 io.KeysDown[key] = true; in ImGui_ImplGlfw_KeyCallback()
174 io.KeysDown[key] = false; in ImGui_ImplGlfw_KeyCallback()
180 io.KeyCtrl = io.KeysDown[GLFW_KEY_LEFT_CONTROL] || io.KeysDown[GLFW_KEY_RIGHT_CONTROL]; in ImGui_ImplGlfw_KeyCallback()
181 io.KeyShift = io.KeysDown[GLFW_KEY_LEFT_SHIFT] || io.KeysDown[GLFW_KEY_RIGHT_SHIFT]; in ImGui_ImplGlfw_KeyCallback()
182 io.KeyAlt = io.KeysDown[GLFW_KEY_LEFT_ALT] || io.KeysDown[GLFW_KEY_RIGHT_ALT]; in ImGui_ImplGlfw_KeyCallback()
186 io.KeySuper = io.KeysDown[GLFW_KEY_LEFT_SUPER] || io.KeysDown[GLFW_KEY_RIGHT_SUPER]; in ImGui_ImplGlfw_KeyCallback()
/dports/math/vtk8/VTK-8.2.0/Interaction/Style/
H A DvtkInteractorStyleFlight.cxx99 this->KeysDown = 0; in vtkInteractorStyleFlight()
136 if (this->KeysDown) in ForwardFly()
728 if (this->KeysDown & 1) in FlyByKey()
732 if (this->KeysDown & 2) in FlyByKey()
739 if (this->KeysDown & 1) in FlyByKey()
743 if (this->KeysDown & 2) in FlyByKey()
753 if (this->KeysDown & 4) in FlyByKey()
757 if (this->KeysDown & 8) in FlyByKey()
764 if (this->KeysDown & 4) in FlyByKey()
776 if (this->KeysDown & 16) in FlyByKey()
[all …]
/dports/math/vtk9/VTK-9.1.0/Interaction/Style/
H A DvtkInteractorStyleFlight.cxx98 this->KeysDown = 0; in vtkInteractorStyleFlight()
135 if (this->KeysDown) in ForwardFly()
338 this->KeysDown |= 1; in OnKeyDown()
341 this->KeysDown |= 2; in OnKeyDown()
344 this->KeysDown |= 4; in OnKeyDown()
347 this->KeysDown |= 8; in OnKeyDown()
351 this->KeysDown |= 16; in OnKeyDown()
355 this->KeysDown |= 32; in OnKeyDown()
402 this->KeysDown &= ~1; in OnKeyUp()
405 this->KeysDown &= ~2; in OnKeyUp()
[all …]
/dports/math/vtk6/VTK-6.2.0/Interaction/Style/
H A DvtkInteractorStyleFlight.cxx99 this->KeysDown = 0; in vtkInteractorStyleFlight()
136 if (this->KeysDown) in ForwardFly()
728 if (this->KeysDown & 1) in FlyByKey()
732 if (this->KeysDown & 2) in FlyByKey()
739 if (this->KeysDown & 1) in FlyByKey()
743 if (this->KeysDown & 2) in FlyByKey()
753 if (this->KeysDown & 4) in FlyByKey()
757 if (this->KeysDown & 8) in FlyByKey()
764 if (this->KeysDown & 4) in FlyByKey()
776 if (this->KeysDown & 16) in FlyByKey()
[all …]
/dports/misc/dartsim/dart-6.11.1/dart/gui/osg/
H A DImGuiHandler.cpp298 io.KeysDown[special_key] = true; in handle()
300 io.KeyCtrl = io.KeysDown[ConvertedKey_LeftControl] in handle()
302 io.KeyShift = io.KeysDown[ConvertedKey_LeftShift] in handle()
304 io.KeyAlt = io.KeysDown[ConvertedKey_LeftAlt] in handle()
306 io.KeySuper = io.KeysDown[ConvertedKey_LeftSuper] in handle()
311 io.KeysDown[c] = true; in handle()
329 io.KeysDown[special_key] = false; in handle()
333 io.KeyShift = io.KeysDown[ConvertedKey_LeftShift] in handle()
335 io.KeyAlt = io.KeysDown[ConvertedKey_LeftAlt] in handle()
337 io.KeySuper = io.KeysDown[ConvertedKey_LeftSuper] in handle()
[all …]
/dports/audio/wolf-shaper-lv2/wolf-shaper-0.1.8-33-ge84de58/dpf/examples/ImguiSimpleGain/
H A DImGuiUI.cpp126 io.KeysDown[imGuiKey] = event.press; in onKeyboard()
137 int imGuiKey = IM_ARRAYSIZE(io.KeysDown) - event.key; in onSpecial()
138 io.KeysDown[imGuiKey] = event.press; in onSpecial()
260 io.KeyMap[ImGuiKey_LeftArrow] = IM_ARRAYSIZE(io.KeysDown) - kKeyLeft; in setupGL()
261 io.KeyMap[ImGuiKey_RightArrow] = IM_ARRAYSIZE(io.KeysDown) - kKeyRight; in setupGL()
262 io.KeyMap[ImGuiKey_UpArrow] = IM_ARRAYSIZE(io.KeysDown) - kKeyUp; in setupGL()
263 io.KeyMap[ImGuiKey_DownArrow] = IM_ARRAYSIZE(io.KeysDown) - kKeyDown; in setupGL()
264 io.KeyMap[ImGuiKey_PageUp] = IM_ARRAYSIZE(io.KeysDown) - kKeyPageUp; in setupGL()
266 io.KeyMap[ImGuiKey_Home] = IM_ARRAYSIZE(io.KeysDown) - kKeyHome; in setupGL()
267 io.KeyMap[ImGuiKey_End] = IM_ARRAYSIZE(io.KeysDown) - kKeyEnd; in setupGL()
[all …]
/dports/audio/zynaddsubfx/zynaddsubfx-3.0.6-rc5/DPF/examples/ImguiSimpleGain/
H A DImGuiUI.cpp126 io.KeysDown[imGuiKey] = event.press; in onKeyboard()
137 int imGuiKey = IM_ARRAYSIZE(io.KeysDown) - event.key; in onSpecial()
138 io.KeysDown[imGuiKey] = event.press; in onSpecial()
260 io.KeyMap[ImGuiKey_LeftArrow] = IM_ARRAYSIZE(io.KeysDown) - kKeyLeft; in setupGL()
261 io.KeyMap[ImGuiKey_RightArrow] = IM_ARRAYSIZE(io.KeysDown) - kKeyRight; in setupGL()
262 io.KeyMap[ImGuiKey_UpArrow] = IM_ARRAYSIZE(io.KeysDown) - kKeyUp; in setupGL()
263 io.KeyMap[ImGuiKey_DownArrow] = IM_ARRAYSIZE(io.KeysDown) - kKeyDown; in setupGL()
264 io.KeyMap[ImGuiKey_PageUp] = IM_ARRAYSIZE(io.KeysDown) - kKeyPageUp; in setupGL()
266 io.KeyMap[ImGuiKey_Home] = IM_ARRAYSIZE(io.KeysDown) - kKeyHome; in setupGL()
267 io.KeyMap[ImGuiKey_End] = IM_ARRAYSIZE(io.KeysDown) - kKeyEnd; in setupGL()
[all …]
/dports/misc/box2d/box2d-2.4.1/testbed/
H A Dimgui_impl_glfw.cpp107 io.KeysDown[key] = true; in ImGui_ImplGlfw_KeyCallback()
109 io.KeysDown[key] = false; in ImGui_ImplGlfw_KeyCallback()
112 io.KeyCtrl = io.KeysDown[GLFW_KEY_LEFT_CONTROL] || io.KeysDown[GLFW_KEY_RIGHT_CONTROL]; in ImGui_ImplGlfw_KeyCallback()
113 io.KeyShift = io.KeysDown[GLFW_KEY_LEFT_SHIFT] || io.KeysDown[GLFW_KEY_RIGHT_SHIFT]; in ImGui_ImplGlfw_KeyCallback()
114 io.KeyAlt = io.KeysDown[GLFW_KEY_LEFT_ALT] || io.KeysDown[GLFW_KEY_RIGHT_ALT]; in ImGui_ImplGlfw_KeyCallback()
115 io.KeySuper = io.KeysDown[GLFW_KEY_LEFT_SUPER] || io.KeysDown[GLFW_KEY_RIGHT_SUPER]; in ImGui_ImplGlfw_KeyCallback()
/dports/graphics/ospray/ospray-2.8.0/apps/ospExamples/
H A Dimgui_impl_glfw_gl3.cpp170 io.KeysDown[key] = true; in ImGui_ImplGlfwGL3_KeyCallback()
172 io.KeysDown[key] = false; in ImGui_ImplGlfwGL3_KeyCallback()
176 io.KeysDown[GLFW_KEY_LEFT_CONTROL] || io.KeysDown[GLFW_KEY_RIGHT_CONTROL]; in ImGui_ImplGlfwGL3_KeyCallback()
178 io.KeysDown[GLFW_KEY_LEFT_SHIFT] || io.KeysDown[GLFW_KEY_RIGHT_SHIFT]; in ImGui_ImplGlfwGL3_KeyCallback()
179 io.KeyAlt = io.KeysDown[GLFW_KEY_LEFT_ALT] || io.KeysDown[GLFW_KEY_RIGHT_ALT]; in ImGui_ImplGlfwGL3_KeyCallback()
181 io.KeysDown[GLFW_KEY_LEFT_SUPER] || io.KeysDown[GLFW_KEY_RIGHT_SUPER]; in ImGui_ImplGlfwGL3_KeyCallback()
/dports/graphics/opencv/opencv-4.5.3/contrib/modules/viz/src/vtk/
H A DvtkVizInteractorStyle.cpp74 KeysDown = 0; in vtkVizInteractorStyle()
934 if (KeysDown) in Fly()
1023 if (KeysDown & 1) in FlyByKey()
1026 if (KeysDown & 2) in FlyByKey()
1031 if (KeysDown & 1) in FlyByKey()
1034 if (KeysDown & 2) in FlyByKey()
1042 if (KeysDown & 4) in FlyByKey()
1045 if (KeysDown & 8) in FlyByKey()
1050 if (KeysDown & 4) in FlyByKey()
1059 if (KeysDown & 16) in FlyByKey()
[all …]
/dports/graphics/simpleviewer/andreyu-simple-viewer-gl-d8928067922d/src/
H A Dgui.cpp44 io.KeysDown[key] = action != GLFW_RELEASE; in onKey()
46 io.KeyCtrl = io.KeysDown[GLFW_KEY_LEFT_CONTROL] || io.KeysDown[GLFW_KEY_RIGHT_CONTROL]; in onKey()
47 io.KeyShift = io.KeysDown[GLFW_KEY_LEFT_SHIFT] || io.KeysDown[GLFW_KEY_RIGHT_SHIFT]; in onKey()
48 io.KeyAlt = io.KeysDown[GLFW_KEY_LEFT_ALT] || io.KeysDown[GLFW_KEY_RIGHT_ALT]; in onKey()
49 io.KeySuper = io.KeysDown[GLFW_KEY_LEFT_SUPER] || io.KeysDown[GLFW_KEY_RIGHT_SUPER]; in onKey()
/dports/graphics/embree/embree-3.13.2/tutorials/common/imgui/
H A Dimgui_impl_glfw_gl2.cpp170 io.KeysDown[key] = true; in ImGui_ImplGlfw_KeyCallback()
172 io.KeysDown[key] = false; in ImGui_ImplGlfw_KeyCallback()
175 io.KeyCtrl = io.KeysDown[GLFW_KEY_LEFT_CONTROL] || io.KeysDown[GLFW_KEY_RIGHT_CONTROL]; in ImGui_ImplGlfw_KeyCallback()
176 io.KeyShift = io.KeysDown[GLFW_KEY_LEFT_SHIFT] || io.KeysDown[GLFW_KEY_RIGHT_SHIFT]; in ImGui_ImplGlfw_KeyCallback()
177 io.KeyAlt = io.KeysDown[GLFW_KEY_LEFT_ALT] || io.KeysDown[GLFW_KEY_RIGHT_ALT]; in ImGui_ImplGlfw_KeyCallback()
178 io.KeySuper = io.KeysDown[GLFW_KEY_LEFT_SUPER] || io.KeysDown[GLFW_KEY_RIGHT_SUPER]; in ImGui_ImplGlfw_KeyCallback()
H A Dimgui_impl_glfw_gl3.cpp215 io.KeysDown[key] = true; in ImGui_ImplGlfw_KeyCallback()
217 io.KeysDown[key] = false; in ImGui_ImplGlfw_KeyCallback()
220 io.KeyCtrl = io.KeysDown[GLFW_KEY_LEFT_CONTROL] || io.KeysDown[GLFW_KEY_RIGHT_CONTROL]; in ImGui_ImplGlfw_KeyCallback()
221 io.KeyShift = io.KeysDown[GLFW_KEY_LEFT_SHIFT] || io.KeysDown[GLFW_KEY_RIGHT_SHIFT]; in ImGui_ImplGlfw_KeyCallback()
222 io.KeyAlt = io.KeysDown[GLFW_KEY_LEFT_ALT] || io.KeysDown[GLFW_KEY_RIGHT_ALT]; in ImGui_ImplGlfw_KeyCallback()
223 io.KeySuper = io.KeysDown[GLFW_KEY_LEFT_SUPER] || io.KeysDown[GLFW_KEY_RIGHT_SUPER]; in ImGui_ImplGlfw_KeyCallback()
/dports/games/openclaw/OpenClaw-0.0-51-gbac7730/Box2D/imgui/
H A Dimgui_impl_glfw_gl3.cpp156 io.KeysDown[key] = true; in ImGui_ImplGlfwGL3_KeyCallback()
158 io.KeysDown[key] = false; in ImGui_ImplGlfwGL3_KeyCallback()
161 io.KeyCtrl = io.KeysDown[GLFW_KEY_LEFT_CONTROL] || io.KeysDown[GLFW_KEY_RIGHT_CONTROL]; in ImGui_ImplGlfwGL3_KeyCallback()
162 io.KeyShift = io.KeysDown[GLFW_KEY_LEFT_SHIFT] || io.KeysDown[GLFW_KEY_RIGHT_SHIFT]; in ImGui_ImplGlfwGL3_KeyCallback()
163 io.KeyAlt = io.KeysDown[GLFW_KEY_LEFT_ALT] || io.KeysDown[GLFW_KEY_RIGHT_ALT]; in ImGui_ImplGlfwGL3_KeyCallback()
164 io.KeySuper = io.KeysDown[GLFW_KEY_LEFT_SUPER] || io.KeysDown[GLFW_KEY_RIGHT_SUPER]; in ImGui_ImplGlfwGL3_KeyCallback()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/skia/tools/viewer/
H A DImGuiLayer.cpp128 io.KeyAlt = io.KeysDown[static_cast<int>(skui::Key::kOption)]; in onPrePaint()
129 io.KeyCtrl = io.KeysDown[static_cast<int>(skui::Key::kCtrl)]; in onPrePaint()
130 io.KeyShift = io.KeysDown[static_cast<int>(skui::Key::kShift)]; in onPrePaint()
131 io.KeySuper = io.KeysDown[static_cast<int>(skui::Key::kSuper)]; in onPrePaint()
209 io.KeysDown[static_cast<int>(key)] = (skui::InputState::kDown == state); in onKey()
/dports/graphics/ospray-studio/ospray_studio-0.9.1/app/
H A Dimgui_impl_glfw.cpp162 if (key >= 0 && key < IM_ARRAYSIZE(io.KeysDown)) in ImGui_ImplGlfw_KeyCallback()
166 io.KeysDown[key] = true; in ImGui_ImplGlfw_KeyCallback()
171 io.KeysDown[key] = false; in ImGui_ImplGlfw_KeyCallback()
177 io.KeyCtrl = io.KeysDown[GLFW_KEY_LEFT_CONTROL] || io.KeysDown[GLFW_KEY_RIGHT_CONTROL]; in ImGui_ImplGlfw_KeyCallback()
178 io.KeyShift = io.KeysDown[GLFW_KEY_LEFT_SHIFT] || io.KeysDown[GLFW_KEY_RIGHT_SHIFT]; in ImGui_ImplGlfw_KeyCallback()
179 io.KeyAlt = io.KeysDown[GLFW_KEY_LEFT_ALT] || io.KeysDown[GLFW_KEY_RIGHT_ALT]; in ImGui_ImplGlfw_KeyCallback()
183 io.KeySuper = io.KeysDown[GLFW_KEY_LEFT_SUPER] || io.KeysDown[GLFW_KEY_RIGHT_SUPER]; in ImGui_ImplGlfw_KeyCallback()
/dports/math/geogram/geogram-1.7.7/src/lib/geogram_gfx/third_party/ImGui/
H A Dimgui_impl_glfw.cpp172 io.KeysDown[key] = true; in ImGui_ImplGlfw_KeyCallback()
174 io.KeysDown[key] = false; in ImGui_ImplGlfw_KeyCallback()
177 io.KeyCtrl = io.KeysDown[GLFW_KEY_LEFT_CONTROL] || io.KeysDown[GLFW_KEY_RIGHT_CONTROL]; in ImGui_ImplGlfw_KeyCallback()
178 io.KeyShift = io.KeysDown[GLFW_KEY_LEFT_SHIFT] || io.KeysDown[GLFW_KEY_RIGHT_SHIFT]; in ImGui_ImplGlfw_KeyCallback()
179 io.KeyAlt = io.KeysDown[GLFW_KEY_LEFT_ALT] || io.KeysDown[GLFW_KEY_RIGHT_ALT]; in ImGui_ImplGlfw_KeyCallback()
183 io.KeySuper = io.KeysDown[GLFW_KEY_LEFT_SUPER] || io.KeysDown[GLFW_KEY_RIGHT_SUPER]; in ImGui_ImplGlfw_KeyCallback()
/dports/editors/imhex/ImHex-1.7.0/external/ImGui/source/
H A Dimgui_impl_glfw.cpp138 io.KeysDown[key] = true; in ImGui_ImplGlfw_KeyCallback()
140 io.KeysDown[key] = false; in ImGui_ImplGlfw_KeyCallback()
143 io.KeyCtrl = io.KeysDown[GLFW_KEY_LEFT_CONTROL] || io.KeysDown[GLFW_KEY_RIGHT_CONTROL]; in ImGui_ImplGlfw_KeyCallback()
144 io.KeyShift = io.KeysDown[GLFW_KEY_LEFT_SHIFT] || io.KeysDown[GLFW_KEY_RIGHT_SHIFT]; in ImGui_ImplGlfw_KeyCallback()
145 io.KeyAlt = io.KeysDown[GLFW_KEY_LEFT_ALT] || io.KeysDown[GLFW_KEY_RIGHT_ALT]; in ImGui_ImplGlfw_KeyCallback()
149 io.KeySuper = io.KeysDown[GLFW_KEY_LEFT_SUPER] || io.KeysDown[GLFW_KEY_RIGHT_SUPER]; in ImGui_ImplGlfw_KeyCallback()

1234567