mirror of
https://github.com/debauchee/barrier.git
synced 2025-08-06 10:09:28 +02:00
parent
5545d8af2a
commit
1dfe867c54
5 changed files with 62 additions and 3 deletions
|
@ -127,6 +127,9 @@ protected:
|
|||
virtual void updateButtons();
|
||||
virtual IKeyState* getKeyState() const;
|
||||
|
||||
// simulate a local key to the system directly
|
||||
void fakeLocalKey(KeyButton button, bool press) const;
|
||||
|
||||
private:
|
||||
// initialization and shutdown operations
|
||||
HCURSOR createBlankCursor() const;
|
||||
|
@ -236,6 +239,7 @@ private:
|
|||
typedef std::map<UInt32, CHotKeyItem> HotKeyMap;
|
||||
typedef std::vector<UInt32> HotKeyIDList;
|
||||
typedef std::map<CHotKeyItem, UInt32> HotKeyToIDMap;
|
||||
typedef std::vector<KeyButton> PrimaryKeyDownList;
|
||||
|
||||
static HINSTANCE s_windowInstance;
|
||||
|
||||
|
@ -335,4 +339,6 @@ private:
|
|||
const int m_dropWindowSize;
|
||||
|
||||
CThread* m_sendDragThread;
|
||||
|
||||
PrimaryKeyDownList m_primaryKeyDownList;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue