mirror of
https://github.com/WarmUpTill/SceneSwitcher.git
synced 2026-08-23 09:45:49 -05:00
Add option to check for mouse button press
Implemented only for Windows for now.
This commit is contained in:
@@ -1,9 +1,15 @@
|
||||
#pragma once
|
||||
#include "hotkey.hpp"
|
||||
|
||||
#include <vector>
|
||||
#include <string>
|
||||
#include <QStringList>
|
||||
#include <chrono>
|
||||
|
||||
enum class HotkeyType;
|
||||
|
||||
// TODO: Implement for MacOS and Linux
|
||||
extern std::chrono::high_resolution_clock::time_point lastMouseLeftClickTime;
|
||||
extern std::chrono::high_resolution_clock::time_point lastMouseMiddleClickTime;
|
||||
extern std::chrono::high_resolution_clock::time_point lastMouseRightClickTime;
|
||||
|
||||
void GetWindowList(std::vector<std::string> &windows);
|
||||
void GetWindowList(QStringList &windows);
|
||||
|
||||
Reference in New Issue
Block a user