add key repeat

This commit is contained in:
chatlanin 2023-03-05 19:47:42 +03:00
parent 20a09a643b
commit 7cf7223305

View File

@ -123,6 +123,12 @@ namespace try_engine
data->callback(e); data->callback(e);
break; break;
} }
case GLFW_REPEAT:
{
system_event::key_pressed_event e { key };
data->callback(e);
break;
}
} }
}); });
} }