add key repeat
This commit is contained in:
parent
20a09a643b
commit
7cf7223305
@ -121,6 +121,12 @@ namespace try_engine
|
|||||||
{
|
{
|
||||||
system_event::key_released_event e { key };
|
system_event::key_released_event e { key };
|
||||||
data->callback(e);
|
data->callback(e);
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case GLFW_REPEAT:
|
||||||
|
{
|
||||||
|
system_event::key_pressed_event e { key };
|
||||||
|
data->callback(e);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user