[idd] transport: centralize source and control state

This commit is contained in:
Geoffrey McRae
2026-08-12 16:31:35 +10:00
parent 1ebf80fbe8
commit 801a1e58f8
10 changed files with 339 additions and 16 deletions

View File

@@ -66,9 +66,11 @@ private:
bool InitializeTransport();
void TransportTimer();
void OnSetCursorPos(int32_t x, int32_t y) override;
void OnSetResolution(uint32_t width, uint32_t height) override;
void OnRecoveryRequest(
void OnSetCursorPos(
const SourceKey& source, int32_t x, int32_t y) override;
void OnSetResolution(const SourceKey& source,
uint32_t width, uint32_t height) override;
void OnRecoveryRequest(const SourceKey& source,
uint64_t session, uint32_t serial, bool active) override;
void SetResolution(uint32_t width, uint32_t height);