From dc7e1aa922be0d4457894355225362637d360fd0 Mon Sep 17 00:00:00 2001 From: tenshi Date: Sun, 5 Nov 2023 15:56:35 +0100 Subject: [PATCH] BLUGA: Switch exit key to F4 --- libs/B-luga-graphics/include/B-luga-graphics/GraphicsSystems.hpp | 1 + 1 file changed, 1 insertion(+) diff --git a/libs/B-luga-graphics/include/B-luga-graphics/GraphicsSystems.hpp b/libs/B-luga-graphics/include/B-luga-graphics/GraphicsSystems.hpp index 2f59e9f..8362ea8 100644 --- a/libs/B-luga-graphics/include/B-luga-graphics/GraphicsSystems.hpp +++ b/libs/B-luga-graphics/include/B-luga-graphics/GraphicsSystems.hpp @@ -39,6 +39,7 @@ namespace Systems::GraphicsSystems { Raylib::Window::initWindow(screenWidth, screenHeight, "R-Bus"); Raylib::Window::setWindowState(Raylib::ConfigFlags::WINDOW_RESIZABLE); Raylib::Frame::setTargetFPS(Raylib::Window::getMonitorRefreshRate(Raylib::Window::getCurrentMonitor())); + Raylib::KeyboardInput::setExitKey(Raylib::KeyboardKey::KB_F4); Raylib::Audio::initAudioDevice(); }