shsr07/MotionStabilizer
About
安全、零侵入的视觉稳定叠加层,缓解 3D 游戏晕动症。 A safe, zero-intrusion visual stabilization overlay for 3D game motion sickness relief.
Games & EmulationWhat you can do
- 边缘叠加 (Edge Overlay) — 在屏幕边缘绘制参考框线(点阵 / 长杆 / 旗帜 / 圆顶 / 方框五种形状),为大脑提供视觉稳定锚点
- 运动方向反转 — 可反转鼠标、键盘和手柄控制方向,适应不同游戏视角
- 视差缩放 — 圆点靠近屏幕中线时自动缩小,营造自然的运动景深感
- 可配置刷新率 — 30–360 Hz 自定义动画刷新率,匹配你的显示器
Measured star growth
- in 24h
- +1
- in 7 days
- +6
- in 15 days
- +15
- in 1 month
- Collecting history
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README.en.md
OriginalMotion Stabilizer · Anti-Motion-Sickness Overlay
A safe, zero-intrusion visual stabilization overlay for 3D game motion sickness relief.
📸 Screenshots
| Edge Overlay | In-Game Test |
![]() |
![]() |
| Floating Clock | Crosshair |
![]() |
![]() |
✨ Features
- Edge Overlay — draws reference borders at the screen edges (five shapes: Dot Matrix / Pole / Flag / Dome / Box) to provide visual stability anchors
[!TIP] Core Feature: Motion Dots
An ultra-minimal artificial optical-flow stimulus that feeds "your body is moving" visual evidence to your peripheral vision, aligning the visual signal with the inner-ear vestibular signal to relieve the sensory conflict.
- Direction inversion — invert mouse, keyboard, and gamepad control direction to match different game camera styles
- Parallax scaling — dots automatically shrink near the screen center for a natural sense of depth
- Configurable refresh rate — 30–360 Hz custom animation refresh rate to match your monitor
Overlay Outline — a contrasting outline on by default (black / white / custom) applied to both the overlay shapes and the motion dots
Crosshair — draws a crosshair at the screen center as a visual focus point
Floating Clock — a draggable real-time clock with multiple time formats and an outline font
Global Hotkeys — switch settings anytime in-game with global hotkeys
Multi-Monitor — automatically detects all displays, lets you pick a target monitor in global options (render the overlay only on that screen), positions the edge overlay, motion dots, and crosshair correctly across multiple screens, and supports mixed-DPI monitors (PerMonitorV2)
Multilingual — Chinese / English
Profile Management — the current configuration auto-saves; it can also be saved as a named profile (a snapshot), and loading a profile overwrites the current configuration
🔒 Safety
- ✓ Pure external desktop overlay — no DLL injection
- ✓ Does not modify game files or access memory
- ✓ Anti-cheat compatibility:
- Default mode (mouse Raw Input only): mouse control can be turned off at any time in the overlay settings, after which the app no longer registers for Raw Input at all — zero risk
- WASD keyboard control (optional): uses the standard GetAsyncKeyState API — very low risk, but recommended for single-player games only
- Gamepad control (optional): uses standard XInput polling — passive stick reads that inject no input into the system, very low risk, but recommended for single-player games only
- This tool uses a read-only Raw Input bypass: it never intercepts input, never modifies the input stream, and adds no latency
📋 Requirements
- Windows 10/11 (64-bit)
- The download release bundles the .NET runtime — no installation needed
- Building from source requires the .NET 10.0 SDK
🚀 Getting Started
Download (Recommended)
- Go to the Releases page
- Download
MotionStabilizer-v2.10.0-win-x64.zip - Extract it to any folder
- Double-click
MotionStabilizer.exeto run
The .NET runtime is bundled — no installation required.
Checksum (v2.10.0)
SHA-256:
1CF24570D05686C906C25EB7BCC4F7419EA41FF60267D42BB48FFFA4843F7E2BVerify:
- Windows:
certutil -hashfile MotionStabilizer-v2.10.0-win-x64.zip SHA256
Build from Source
git clone https://github.com/shsr07/MotionStabilizer.git
cd MotionStabilizer
dotnet build -c Release
Build output is at MotionStabilizer/bin/Release/net10.0-windows/.
📖 Usage
- After launching, the main window appears in the system tray and taskbar
- Configure the edge overlay, crosshair, and floating clock via the left navigation
- Set global hotkeys on the "Hotkeys" page
- Adjust the UI, language, monitor, and profiles on the "Options" page
- Minimizing the window keeps the program in the tray with the overlay running
- IMPORTANT!!!: Once in-game, control the features with hotkeys
⚠️ Notes
- Exclusive Fullscreen: The overlay may not show in some games' exclusive-fullscreen mode. Switch the game to borderless or windowed mode and it will work normally.
- Administrator Notice: If Steam or your game is running as administrator, MotionStabilizer must also be run as administrator; otherwise the motion dots may not follow the mouse and global hotkeys may stop working. This is caused by a Windows permission isolation mechanism, not a bug in the app.
⌨️ Default Hotkeys
| Hotkey | Action |
|---|---|
| F1 | Toggle edge overlay |
| F2 | Toggle crosshair |
| F3 | Toggle floating clock |
| F4 | Cycle overlay shape |
| F5 | Cycle crosshair shape |
| F6 | Cycle display mode |
| F7 | Cycle opacity mode |
| F8 | Toggle overlay outline |
| F9 | Cycle overlay color (Red/Green/Blue/Custom) |
| F10 | Cycle crosshair color (Red/Green/Blue/Custom) |
💡 Managing bindings: click a hotkey field on the Hotkeys page, then press Esc to cancel the capture or Delete to unbind. The app occupies F1–F10 by default (no modifier keys — captured system-wide); rebind them on that page if they clash with a game.
🛠️ Tech Stack
- .NET 10.0 + WPF (Windows Presentation Foundation)
- Vortice (DirectComposition / Direct2D1 / Direct3D11 / DXGI) — hardware-accelerated motion dot rendering
- Win32 API — click-through windows, global hotkey registration, system tray, multi-monitor virtual screen, Raw Input, XInput gamepad polling
- xUnit — unit tests (298 tests covering render helpers, config models, hotkey bindings and bulk actions, observable config, area computation and dot-layout hashing, dot-matrix layout and multi-monitor adaptation, key-code mapping, monitor selection, gamepad input math, OSD text mapping, compact-surface decision, foreground-rect change detection)
- C# 14 — latest C# features
- Single-file publish — self-contained win-x64 single exe with the .NET runtime bundled; extract and run
📁 Project Structure
MotionStabilizer/ # Main project
├── Models/ # Data models (configs, enums)
│ ├── ObservableObject.cs # INotifyPropertyChanged base class
│ ├── OverlayConfig.cs # Edge overlay config (observable)
│ ├── CrosshairConfig.cs # Crosshair config (observable)
│ ├── ClockConfig.cs # Floating clock config (observable)
│ ├── AppConfig.cs # Global options config (observable)
│ ├── HotkeyConfig.cs # Hotkey bindings
│ └── Enums.cs # Enum definitions
├── Overlay/ # Overlay rendering
│ ├── DirectCompositionMotionRenderer.cs # Motion dots DirectComposition renderer
│ ├── OverlayWindow.xaml(.cs) # Transparent overlay window
│ └── RenderHelper.cs # Shape and outline building helpers
├── Resources/ # Multilingual string resources
├── Services/ # Service layer
│ ├── ConfigStore.cs # Centralized config store (observable)
│ ├── ConfigManager.cs # Config file persistence
│ ├── HotkeyManager.cs # Global hotkey management
│ ├── ProfileService.cs # Profile management
│ ├── Win32Interop.cs # Win32 API interop
│ ├── XInputInterop.cs # XInput gamepad stick interop
│ ├── OsdTextBuilder.cs # Hotkey → OSD text mapping (pure, unit-tested)
│ ├── AppIcon.cs # Application icon
│ └── TrayService.cs # System tray service
├── Themes/ # Global WPF styles
├── Views/ # Settings pages (overlay, crosshair, clock, hotkeys, options)
│ └── Dialogs/ # Custom dialogs
├── GlobalUsings.cs # WPF/WinForms aliases
├── app.manifest # PerMonitorV2 DPI declaration
├── App.xaml(.cs) # Application entry point
└── MainWindow.xaml(.cs) # Main window
MotionStabilizer.Tests/ # Unit test project (298 tests)
├── RenderHelperTests.cs # Render size mapping, safe-area computation
├── ConfigModelTests.cs # Config models: color parsing, edge visibility/opacity
├── HotkeyBindingTests.cs # Hotkey display strings, cloning
├── ObservableConfigTests.cs # ConfigStore event notification, profile load/reset, safety-gate serialization
├── ComputeMotionZonesTests.cs # Motion dot zone geometry computation
├── XInputInteropTests.cs # Gamepad input math (normalization, deadzone, velocity synthesis, priority)
├── KeyNameToVkTests.cs # Key name → virtual key code mapping
├── MonitorSelectionTests.cs # Target monitor selection and layered matching
├── ForegroundRectTests.cs # Window-mode foreground-rect change detection
├── OsdTextBuilderTests.cs # Hotkey → OSD text mapping
├── PositionClampTests.cs # Resolution-change position clamping
├── CompactSurfaceTests.cs # 1×1 compact-surface decision
├── ComputeZoneHashTests.cs # Dot-layout hashing (geometry only)
├── DotMatrixTests.cs # Dot-matrix layout, margins, multi-monitor adaptation
├── HotkeyConfigTests.cs # Default bindings, bulk clear, binding-table integrity
└── MotionStabilizer.Tests.csproj # Test project file
📄 License
MIT License © 2026 shsr07
👤 Author
- GitHub: shsr07
Explore related projects
Loading…



