mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
rename keycode, mousecode enumerations
This commit is contained in:
parent
9843a1fc27
commit
881edb7b28
22 changed files with 160 additions and 154 deletions
|
|
@ -174,13 +174,13 @@ void Engine::loadControls() {
|
|||
}
|
||||
|
||||
void Engine::updateHotkeys() {
|
||||
if (input->jpressed(keycode::F2)) {
|
||||
if (input->jpressed(Keycode::F2)) {
|
||||
saveScreenshot();
|
||||
}
|
||||
if (input->jpressed(keycode::F8)) {
|
||||
if (input->jpressed(Keycode::F8)) {
|
||||
gui->toggleDebug();
|
||||
}
|
||||
if (input->jpressed(keycode::F11)) {
|
||||
if (input->jpressed(Keycode::F11)) {
|
||||
settings.display.fullscreen.toggle();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue