Feature: Add cursor position and type detection for macOS client

This commit is contained in:
yuanyuanxiang committed 2026-05-01 08:32:46 +02:00
1 parent f2a184e760
commit 9b1cb1ced9
2 files changed
+129 -6

No files matched your search

+6
View File
@@ -93,6 +93,12 @@ private:
// Get current time in milliseconds
static uint64_t getTickMs();
// Get current cursor position (in physical pixels)
void getCursorPosition(int32_t& x, int32_t& y);
// Get current cursor type index (matches Windows cursor indices)
uint8_t getCursorTypeIndex();
private:
IOCPClient* m_client;
uint64_t m_clientID;