add key repeat

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

View File

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