add key repeat
This commit is contained in:
parent
20a09a643b
commit
7cf7223305
@ -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;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user