Add simulated hotkeys

This commit is contained in:
2026-03-24 23:16:57 +01:00
parent f2af0c83c8
commit b02409a9cd
2 changed files with 41 additions and 0 deletions

View File

@@ -42,3 +42,16 @@ void RegisterHotkey(int vk, Modifier mods, std::function<void()> callback);
*/
void ProcessHotkeys(reshade::api::effect_runtime* runtime);
/**
* @brief Simulate Alt + Enter shortcut
*
* This function should be calld on event `on_present`
*/
void SimulateAltEnter();
/**
* @brief Simulate Alt + Tab shortcut
*
* This function should be calld on event `on_present`
*/
void SimulateAltTab();