mirror of
https://github.com/brunoherbelin/vimix.git
synced 2025-12-11 18:34:58 +01:00
F12 for enable/disable output
replacing the 'END' key that is not available on many keyboards.
This commit is contained in:
@@ -379,7 +379,7 @@ void UserInterface::handleKeyboard()
|
||||
Mixer::manager().setView(View::LAYER);
|
||||
else if (ImGui::IsKeyPressed( GLFW_KEY_F4, false ))
|
||||
Mixer::manager().setView(View::TEXTURE);
|
||||
else if (ImGui::IsKeyPressed( GLFW_KEY_F12, false ))
|
||||
else if (ImGui::IsKeyPressed( GLFW_KEY_PRINT_SCREEN, false ))
|
||||
StartScreenshot();
|
||||
// button home to toggle menu
|
||||
else if (ImGui::IsKeyPressed( GLFW_KEY_HOME, false ))
|
||||
@@ -405,7 +405,7 @@ void UserInterface::handleKeyboard()
|
||||
WorkspaceWindow::restoreWorkspace();
|
||||
esc_repeat_ = false;
|
||||
}
|
||||
else if (ImGui::IsKeyPressed( GLFW_KEY_END, false )) {
|
||||
else if (ImGui::IsKeyPressed( GLFW_KEY_F12, false )) {
|
||||
Settings::application.render.disabled = !Settings::application.render.disabled;
|
||||
}
|
||||
// Space bar
|
||||
|
||||
@@ -67,7 +67,7 @@
|
||||
#define MENU_CAPTUREFRAME ICON_FA_CAMERA_RETRO " Capture frame"
|
||||
#define SHORTCUT_CAPTUREFRAME CTRL_MOD "Shitf+R"
|
||||
#define MENU_OUTPUTDISABLE ICON_FA_EYE_SLASH " Disable"
|
||||
#define SHORTCUT_OUTPUTDISABLE "END"
|
||||
#define SHORTCUT_OUTPUTDISABLE "F12"
|
||||
#define MENU_OUTPUTFULLSCREEN ICON_FA_EXPAND_ALT " Fullscreen window"
|
||||
#define SHORTCUT_OUTPUTFULLSCREEN CTRL_MOD "F"
|
||||
#define MENU_CLOSE ICON_FA_TIMES " Close"
|
||||
|
||||
Reference in New Issue
Block a user