feat(event): handle close event

This commit is contained in:
fallenoak 2023-01-02 15:37:41 -06:00 committed by GitHub
parent d90000d0f2
commit 09d77e1ba2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 15 additions and 1 deletions

View file

@ -46,6 +46,10 @@ void EventInitialize(int32_t threadCount, int32_t netServer) {
// OsInputSetEventPollProc(&sub_47DCA0);
}
void EventInitiateShutdown() {
IEvtSchedulerShutdown();
}
int32_t EventIsControlKeyDown() {
return EventIsKeyDown(KEY_LCONTROL) || EventIsKeyDown(KEY_RCONTROL);
}