mirror of
https://github.com/moonlight-stream/moonlight-common-c.git
synced 2025-08-18 01:15:46 +00:00
Wiggle the mouse at connection start to wake the display up
This commit is contained in:
parent
bd825776b3
commit
de915efaaf
@ -362,6 +362,12 @@ int LiStartConnection(PSERVER_INFORMATION serverInfo, PSTREAM_CONFIGURATION stre
|
||||
ListenerCallbacks.stageComplete(STAGE_INPUT_STREAM_START);
|
||||
Limelog("done\n");
|
||||
|
||||
// Wiggle the mouse a bit to wake the display up
|
||||
LiSendMouseMoveEvent(1, 1);
|
||||
PltSleepMs(10);
|
||||
LiSendMouseMoveEvent(-1, -1);
|
||||
PltSleepMs(10);
|
||||
|
||||
ListenerCallbacks.connectionStarted();
|
||||
|
||||
Cleanup:
|
||||
|
Loading…
x
Reference in New Issue
Block a user