ScreenCompass
A lightweight Windows utility for controlling screen orientation
About
ScreenCompass is a native Windows utility designed for tablets and convertible devices. It provides intuitive screen rotation controls through a system tray icon, global hotkeys, and optional automatic rotation via the device's orientation sensor.
Features
Double-tap to Rotate
Double-click or double-tap the window to rotate the screen 90ยฐ clockwise.
Global Hotkeys
Ctrl+Alt+Arrow keys for instant rotation โ NVIDIA/Intel style shortcuts.
Multi-Monitor Support
Hotkeys rotate whichever monitor the cursor is currently on.
Sensor Auto-Rotate
Automatically rotates based on device orientation when unlocked.
System Tray Integration
Runs quietly in the tray. Click to toggle lock. Close minimizes to tray.
Single Executable
All resources embedded. No installation, no dependencies, no runtime.
Hotkeys
| Hotkey | Action |
|---|---|
Ctrl+Alt+Up |
Normal orientation (0ยฐ) |
Ctrl+Alt+Down |
Upside-down (180ยฐ) |
Ctrl+Alt+Left |
Portrait โ top at left (90ยฐ) |
Ctrl+Alt+Right |
Portrait โ top at right (270ยฐ) |
Note: These hotkeys may conflict with GPU drivers (NVIDIA, Intel, AMD) that register the same shortcuts. ScreenCompass logs a warning if registration fails.
Usage
Command Line
-m or /m โ Start minimized to system tray
System Tray
- Left-click โ Toggle rotation lock (green = auto, orange = locked)
- Right-click โ Context menu (Show, Toggle 90ยฐ, Auto, Exit)
Main Window
- Click + drag โ Move the window
- Double-click โ Rotate 90ยฐ clockwise
- Right-click โ Context menu
- Close (X) โ Minimize to tray
- Shift + Close โ Actually exit
Building
Requires Visual Studio 2022 with C++ workload and Windows SDK.
Debugging
ScreenCompass outputs diagnostic messages via OutputDebugString. View with:
- DebugView (Sysinternals) โ Enable "Capture Win32"
- Visual Studio โ Run with debugger (F5), check Output window
Messages are prefixed with [ScreenCompass] and tagged by level: INFO, WARN, ERROR, DEBUG.
Requirements
- Windows 10 or later
- Orientation sensor (optional โ manual rotation works without one)
License
MIT License โ see LICENSE on GitHub.