Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion SofaGLFW/src/SofaGLFW/SofaGLFWBaseGUI.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -694,7 +694,8 @@ void SofaGLFWBaseGUI::key_callback(GLFWwindow* window, int key, int scancode, in
// Key events are forwarded to SOFA using: CTRL + SHIFT
if (isCtrlKeyPressed && isShiftKeyPressed)
{
if (action == GLFW_PRESS)

if (action == GLFW_PRESS || action == GLFW_REPEAT)
{
KeypressedEvent keyPressedEvent(keyName);
rootNode->propagateEvent(core::ExecParams::defaultInstance(), &keyPressedEvent);
Expand Down
Loading