Overview
Thehost.input section controls how keyboard and mouse input from the remote client is injected into the target application, including injection policies, transport mechanisms, and thread priority settings.
Injection Policy
Policy for when input injection is allowed.Default:
REQUIRE_FOREGROUNDOptions:REQUIRE_FOREGROUND- Only inject when target window is foregroundALWAYS- Always inject regardless of focusDISABLED- Disable input injection
Allow stealing focus from other windows.Default:
falseWhen enabled, automatically brings target window to foreground when input is received.Release all pressed keys/buttons when client disconnects.Default:
truePrevents stuck keys when client disconnects unexpectedly.Mouse Configuration
Mouse coordinate scaling policy.Default:
DPI_AWAREOptions:DPI_AWARE- Scale coordinates based on system DPIABSOLUTE- Use absolute coordinates without scalingRELATIVE- Use relative mouse movements
DPI_AWARE is recommended for accurate cursor positioning across different display configurations.Confine cursor to target window boundaries.Default:
falseWhen enabled, prevents cursor from leaving the target window.Combine multiple mouse move events into single injection.Default:
trueReduces CPU usage by batching rapid mouse movements.Maximum mouse move events to process per frame.Default:
100Limits processing overhead from rapid mouse movement.Enable strict ordering of mouse events.Default:
falseMay add latency but ensures exact event ordering.Keyboard Configuration
Block Windows key presses on the host.Default:
truePrevents accidentally opening Start menu or triggering Windows shortcuts during streaming.Block all system key combinations (Alt+Tab, Ctrl+Alt+Del, etc.).Default:
falseKey repeat handling policy.Default:
THROTTLEDOptions:THROTTLED- Limit repeat rate tomaxKeyRepeatHzPASSTHROUGH- Forward all repeats from clientDISABLED- Ignore all key repeats
Maximum key repeat frequency in Hz when throttled.Default:
30 HzStandard keyboard repeat rate is ~30 Hz.Initial delay before key repeat starts.Default:
250 msMatches standard OS keyboard repeat delay.Transport Configuration
Use WebRTC DataChannels for input transport.Default:
trueDataChannels provide lower latency than WebSocket. Only disable for compatibility.Enable fallback WebSocket transport.Default:
falseOnly needed for clients that don’t support DataChannels.Maximum queued input messages before dropping.Default:
100Prevents memory buildup when injection falls behind.Injection Rate Limiting
Maximum input injection rate in Hz.Default:
10000 Hz (10 kHz)Absolute maximum rate for all input events combined.Timeout for input queue processing.Default:
10 msError Handling and Recovery
Automatically detect and release stuck keys.Default:
trueMonitors for keys that remain pressed longer than timeout.Time in milliseconds before a key is considered stuck.Default:
2000 ms (2 seconds)Recover from input sequence errors.Default:
trueAttempts to resynchronize input state after errors.Maximum recovery attempts before giving up.Default:
3Stop processing on first injection error.Default:
falseWhen false, continues processing despite occasional errors.Log input injection errors.Default:
trueMaximum consecutive errors before stopping injection.Default:
10Logging
Log every individual input event.Default:
falseLog aggregated input statistics.Default:
truePeriodically logs summary statistics (events/sec, errors, etc.).Interval for aggregated logging in milliseconds.Default:
60000 ms (1 minute)Thread Priority (MMCSS)
Multimedia Class Scheduler Service (MMCSS) settings for input thread priority.Enable MMCSS thread priority boosting.Default:
trueMMCSS gives real-time priority to reduce input latency.MMCSS task class name.Default:
GamesOptions: Games, Audio, Capture, Distribution, Playback, Pro Audio, Window ManagerGames class provides optimal priority for gaming input.Use time-critical priority level.Default:
trueMaximum priority short of real-time kernel threads.Win32 thread priority level.Default:
15 (TIME_CRITICAL)Range: -15 (IDLE) to 15 (TIME_CRITICAL)MMCSS task name for tracking.Default:
InputInjectionFall back to Win32 priority if MMCSS fails.Default:
trueEnsures elevated priority even if MMCSS is unavailable.Show diagnostics if priority elevation fails.Default:
trueRetry MMCSS registration on failure.Default:
falseDelay between MMCSS retry attempts.Default:
1000 msAdaptive Quality Control
Adaptive input dropping based on network conditions.Enable adaptive input event dropping during congestion.Default:
trueDrops low-priority input events when network quality degrades.RTT threshold for excellent network quality (ms).Default:
10.0 msRTT threshold for good network quality (ms).Default:
50.0 msRTT threshold for fair network quality (ms).Default:
100.0 msRTT threshold for poor network quality (ms).Default:
200.0 msPacket loss threshold for excellent quality.Default:
0.01 (1%)Packet loss threshold for good quality.Default:
0.05 (5%)Packet loss threshold for fair quality.Default:
0.10 (10%)Packet loss threshold for poor quality.Default:
0.20 (20%)Input queue depth for excellent quality.Default:
1Input queue depth for good quality.Default:
3Input queue depth for fair quality.Default:
6Input queue depth for poor quality.Default:
12Input drop ratio for excellent quality (0.0-1.0).Default:
0.0 (no dropping)Input drop ratio for good quality (0.0-1.0).Default:
0.0 (no dropping)Input drop ratio for fair quality (0.0-1.0).Default:
0.0 (no dropping)Input drop ratio for poor quality (0.0-1.0).Default:
0.0 (no dropping)Input drop ratio for critical quality (0.0-1.0).Default:
0.0 (no dropping)Minimum interval between input frames (ms).Default:
0 (no throttling)Network statistics update interval (ms).Default:
100 ms