mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-08-21 09:49:27 +00:00
Add rsx capture shortcut
This commit is contained in:
parent
17c8b34088
commit
4c70864588
1 changed files with 9 additions and 0 deletions
|
@ -38,6 +38,8 @@
|
||||||
|
|
||||||
LOG_CHANNEL(screenshot);
|
LOG_CHANNEL(screenshot);
|
||||||
|
|
||||||
|
extern std::atomic<bool> g_user_asked_for_frame_capture;
|
||||||
|
|
||||||
constexpr auto qstr = QString::fromStdString;
|
constexpr auto qstr = QString::fromStdString;
|
||||||
|
|
||||||
gs_frame::gs_frame(const QRect& geometry, const QIcon& appIcon, const std::shared_ptr<gui_settings>& gui_settings)
|
gs_frame::gs_frame(const QRect& geometry, const QIcon& appIcon, const std::shared_ptr<gui_settings>& gui_settings)
|
||||||
|
@ -200,6 +202,13 @@ void gs_frame::keyPressEvent(QKeyEvent *keyEvent)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
case Qt::Key_C:
|
||||||
|
if (keyEvent->modifiers() == Qt::AltModifier && !m_disable_kb_hotkeys)
|
||||||
|
{
|
||||||
|
g_user_asked_for_frame_capture = true;
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
break;
|
||||||
case Qt::Key_F12:
|
case Qt::Key_F12:
|
||||||
screenshot_toggle = true;
|
screenshot_toggle = true;
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue