feat(console): add helpers for console hotkey

This commit is contained in:
Tristan 'Natrist' Cormier 2023-04-15 17:33:17 -04:00 committed by GitHub
parent 309ba8085c
commit 3549abd87f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 14 additions and 0 deletions

View file

@ -1,6 +1,7 @@
#ifndef CONSOLE_CONSOLE_HPP
#define CONSOLE_CONSOLE_HPP
#include "event/Types.hpp"
#include <cstdint>
int32_t ConsoleAccessGetEnabled();
@ -9,6 +10,10 @@ void ConsoleAccessSetEnabled(int32_t enable);
int32_t ConsoleGetActive();
KEY ConsoleGetHotKey();
void ConsoleSetActive(int32_t active);
void ConsoleSetHotKey(KEY hotkey);
#endif // ifndef CONSOLE_CONSOLE_HPP