Feature: Add cursor position and type detection for macOS client

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

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;