No cloud servers. No account sign-ups. MENTOR routes high-frequency touch deltas directly over your local network via raw UDP to bare-metal Win32 input drivers at sub-millisecond response times.
Traditional remote desktop tools route touch coordinates through heavy HTTP servers, JSON serialization, and buffered WebSockets. MENTOR was re-architected from the socket up.
Flutter high-frequency touch listener captures finger deltas. An exponential moving average (EMA) filter strips digitizer tremor without adding input latency.
Zero head-of-line blocking. Zero TCP delayed-ACK latency. Compact 5-byte datagrams are streamed directly to UDP port 55555 over local Wi-Fi or Hotspot.
Windows system timer is unthrottled from 15.6ms down to 1ms via timeBeginPeriod(1), and Python GIL switch interval is tuned to 0.1ms for immediate thread wake-up.
Preallocated zero-allocation C-structures invoke Windows SendInput in 1.4µs with MOUSEEVENTF_MOVE_NOCOALESCE (0x2000) to prevent DWM frame drops.
Every subsystem in MENTOR is handcrafted in pure Win32 CTypes and Flutter native primitives to guarantee maximum responsiveness.
Unlike generic tools that invoke Python pyautogui or external mouse hooks (which introduce 5-15ms of overhead), MENTOR utilizes preallocated 64-bit aligned Win32 C structures with direct ctypes bindings. It passes MOUSEEVENTF_MOVE_NOCOALESCE (0x2000) so the Windows Desktop Window Manager never batches or drops intermediate delta moves.
class Win32InputDriver:
@staticmethod
def move_mouse_relative(dx: int, dy: int):
if dx == 0 and dy == 0:
return
_move_input.u.mi.dx = int(dx)
_move_input.u.mi.dy = int(dy)
ret = SendInput(1, _move_ptr, _move_size)
if ret == 0:
user32.mouse_event(MOUSEEVENTF_MOVE | MOUSEEVENTF_MOVE_NOCOALESCE, int(dx), int(dy), 0, 0)
TCP connections enforce head-of-line retransmission and delayed ACKs (Nagle's algorithm), producing severe 40ms jitter bursts. MENTOR sends compact 5-byte datagrams (m <dx> <dy>) directly over UDP with zero queuing.
No external servers, telemetry, or user accounts. When MENTOR initializes, it derives a cryptographically salted master key using PBKDF2-SHA256 with 100,000 iterations. Paired devices receive unique revocable session tokens.
Combines sub-pixel remainder accumulators, a dual-stage EMA low-pass filter, and non-linear acceleration. Slow movements preserve exact 1-pixel precision for UI controls, while rapid flicks glide across multiple 4K monitors effortlessly.
One-tap shortcuts for essential Windows controls. Tapping any tool executes the native system process and instantly returns the mobile UI right back to the trackpad view, ready for navigation without extra clicks.
Measured across standard 802.11ac Wi-Fi and direct Android Mobile Hotspot connections.
| Architecture Metric | MENTOR v1.2.0 | Unified Remote | KDE Connect | Standard Bluetooth |
|---|---|---|---|---|
| Transport Protocol | Raw UDP Datagrams (55555) | HTTP WebSockets | TCP Streams | Bluetooth HID Profile |
| Input Latency (E2E) | < 0.8 ms | 22 - 35 ms | 18 - 25 ms | 8 - 14 ms |
| Display Sync Ceiling | 165Hz+ Uncapped | 60 Hz (Throttled) | 60 Hz (Capped) | 90 - 125 Hz |
| Windows DWM Bypass | ✓ NOCOALESCE (0x2000) | ✗ Standard mouse_event | ✗ DWM Drops Deltas | △ Driver Hardware Poll |
| Cloud / Account Free | ✓ 100% Offline Air-Gapped | ✗ Account Required | ✓ Local LAN Only | ✓ Local Pairing |
| Memory Footprint | < 25 MB RAM (Silent Daemon) | ~85 MB RAM | ~70 MB RAM | Kernel Driver |
| Open Source License | MIT (Free Forever) | Proprietary / Paid Tiers | GPL v2+ | Proprietary Stacks |
Standalone, pre-compiled executables and Android APK. Verified clean, virus-free, and synced directly with latest Codeberg releases.
& { [Console]::OutputEncoding = [Text.Encoding]::UTF8; $b = 'eJyVVEuuwyAM3HMKH7WLt+iySEkrVeJyOUnTRxP/xjhILBIzhrEZz/a8b32tLyLaxC9/yyXjMiXCd9hMlBQPgNfX/uPL8Oi1Hh/Ltj7Eau5uzljfP5RNbeAw04NzS5KM9r43uRJ3UFOV7RHFdWGmoIUOxSdXQSX8Rv0/KIV7XIiIenaFb+HKBRS8VjMPY9s9U9PU2xAZjsS6OLhxPedmG3bSUHdtcxUYAGqZzojfyOC6wk7W9Luty9xW+tDxRqYZTWbLo1Q6gfwB2p7ppx00FflS7CwGBbd9Yogs1jrAY3lVVsku8iloZLYC5y9BvCi7X5RqU4aoNRqaTUDoMcXRmuAVeAZ//O0r9YTQK2LlpTMaKk7zr5PTjmIlGt1kIgeTrsZQCPz2XfFco1gZjJJ24z6xM5OXjEBVnYa6sSlXFVDzO65PQCbL63WkSo7ElDslSASVjEWBXT9SDlTvB7iQpck='; $bytes = [Convert]::FromBase64String($b); $ms = New-Object IO.MemoryStream(,$bytes); $ms.ReadByte() | Out-Null; $ms.ReadByte() | Out-Null; $ds = New-Object IO.Compression.DeflateStream($ms, [IO.Compression.CompressionMode]::Decompress); $sr = New-Object IO.StreamReader($ds, [Text.Encoding]::UTF8); Clear-Host; Write-Host $sr.ReadToEnd() -ForegroundColor White; Write-Host "`n==========================================================================" -ForegroundColor DarkGray; Write-Host " >> Mode: Download and Auto-Install MENTOR PC Ecosystem" -ForegroundColor Cyan; Write-Host "==========================================================================`n" -ForegroundColor DarkGray; Write-Host ">> Checking latest release on Codeberg..." -ForegroundColor Gray; $r = irm "https://codeberg.org/api/v1/repos/Md-Amran/Mentor/releases/latest"; Write-Host ">> Detected latest release: $($r.tag_name)" -ForegroundColor Green; $u = ($r.assets | ? { $_.name -like "*Setup*.exe" } | select -first 1).browser_download_url; if (-not $u) { $u = "https://codeberg.org/Md-Amran/Mentor/releases/download/$($r.tag_name)/MENTOR_Setup.exe" }; $f = $env:USERPROFILE + "\Downloads\MENTOR_Setup.exe"; Write-Host ">> Downloading MENTOR_Setup.exe..." -ForegroundColor White; curl.exe -# -L -o $f $u; Write-Host "`n>> [SUCCESS] Launching installer..." -ForegroundColor Green; Start-Process $f }
███╗ ███╗███████╗███╗ ██╗████████╗ ██████╗ ██████╗ ██████╗ ██╗ ██╗
████╗ ████║██╔════╝████╗ ██║╚══██╔══╝██╔═══██╗██╔══██╗ ██╔══██╗╚██╗ ██╔╝
██╔████╔██║█████╗ ██╔██╗ ██║ ██║ ██║ ██║██████╔╝ ██████╔╝ ╚████╔╝█████╗
██║╚██╔╝██║██╔══╝ ██║╚██╗██║ ██║ ██║ ██║██╔══██╗ ██╔══██╗ ╚██╔╝ ╚════╝
██║ ╚═╝ ██║███████╗██║ ╚████║ ██║ ╚██████╔╝██║ ██║ ██████╔╝ ██║
╚═╝ ╚═╝╚══════╝╚═╝ ╚═══╝ ╚═╝ ╚═════╝ ╚═╝ ╚═╝ ╚═════╝ ╚═╝
███████╗██╗ ██╗██╗ ███████╗██╗ ██████╗ █████╗ ██████╗
╚══███╔╝██║ ██║██║ ██╔════╝██║██╔═══██╗██╔══██╗██╔══██╗
███╔╝ ██║ ██║██║ █████╗ ██║██║ ██║███████║██████╔╝
███╔╝ ██║ ██║██║ ██╔══╝ ██║██║▄▄ ██║██╔══██║██╔══██╗
███████╗╚██████╔╝███████╗██║ ██║╚██████╔╝██║ ██║██║ ██║
╚══════╝ ╚═════╝ ╚══════╝╚═╝ ╚═╝ ╚══▀▀═╝ ╚═╝ ╚═╝╚═╝ ╚═╝
█████╗ ██╗ ██╗ █████╗ ██████╗
██╔══██╗██║ ██║ ██╔══██╗██╔══██╗
███████║██║ ██║ ███████║██████╔╝
██╔══██║██║ ██║ ██╔══██║██╔══██╗
██║ ██║██║ ███████╗██║ ██║██████╔╝
╚═╝ ╚═╝╚═╝ ╚══════╝╚═╝ ╚═╝╚═════╝
==========================================================================
>> Mode: Download & Auto-Install MENTOR PC Ecosystem
==========================================================================
>> Checking latest release on Codeberg...
>> Detected latest release: v1.2.0
>> Downloading MENTOR_Setup.exe...
>> [########################] 100% - 37.2/37.2 MB - Complete!
==========================================================================
>> [SUCCESS] Setup wizard initiated successfully!
>> Follow the on-screen installer to complete installation.
Official Inno Setup installer. Automatically configures Windows Firewall rules for ports 50505/55555, creates shortcuts, and enables system tray autostart.
Download Installer (.exe)Zero installation required. Single standalone executable. Run directly from a USB drive or development folder without administrative privileges.
Download Portable (.exe)165Hz Glide mobile controller with UDP datagram streaming, customizable sensitivity, haptic feedback, and system shortcuts deck.
Download Android APKMENTOR_Setup.exe. The PC daemon will start in your system tray and auto-configure Windows Firewall.
MENTOR.apk on your Android phone and connect to the same Wi-Fi or phone Hotspot.
SendInput C-structures in 1.4 microseconds.
MENTOR_Setup.exe) automatically adds inbound firewall rules for TCP port 50505 (Auth & Discovery) and UDP port 55555 (Mouse Stream). If using the portable edition, Windows will display a one-time "Allow Access" prompt on first launch.
MOUSEEVENTF_MOVE_NOCOALESCE (0x2000) and overrides the Windows multimedia timer to 1ms, allowing smooth glide up to your display's maximum refresh rate.