mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-03-22 15:05:03 +01:00
Change debug window binding to Shift + F12
This commit is contained in:
@@ -444,6 +444,11 @@ driver_mode::on_key( int const Key, int const Scancode, int const Action, int co
|
||||
|
||||
// give the ui first shot at the input processing...
|
||||
if( !anyModifier && true == m_userinterface->on_key( Key, Action ) ) { return; }
|
||||
if (Key == (GLFW_MOD_SHIFT | GLFW_KEY_F12) && Action == GLFW_PRESS)
|
||||
{
|
||||
m_userinterface->showDebugUI();
|
||||
return;
|
||||
}
|
||||
// ...if the input is left untouched, pass it on
|
||||
if( true == m_input.keyboard.key( Key, Action ) ) { return; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user