mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-01-05 00:00:42 +01:00
Add rsx capture shortcut
This commit is contained in:
parent
17c8b34088
commit
4c70864588
|
|
@ -38,6 +38,8 @@
|
|||
|
||||
LOG_CHANNEL(screenshot);
|
||||
|
||||
extern std::atomic<bool> g_user_asked_for_frame_capture;
|
||||
|
||||
constexpr auto qstr = QString::fromStdString;
|
||||
|
||||
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;
|
||||
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:
|
||||
screenshot_toggle = true;
|
||||
break;
|
||||
|
|
|
|||
Loading…
Reference in a new issue