MouseKeyShow v1.2.5 (Windows Release)
New Features
Dynamic Cursor Halo for Custom Cursors: Added a new translucent yellow halo effect. If the system cursor is shrunk by third-party applications (e.g., entering the Adobe Illustrator canvas with a custom pen/crosshair tool), the halo will automatically appear to highlight the cursor's location.
Smart Auto-Dodging Panel: The keystroke visualization card now features a smart anti-blocking mechanism. If the mouse cursor approaches the card's display area, the card will automatically jump to the mirrored side of the screen to prevent obstructing the user's view or clicking area.
Halo Configuration: Added dedicated UI controls in the Settings panel to enable/disable the translucent halo and adjust its radius dynamically.
Enhancements
Pixel-Perfect Hotspot Alignment: Upgraded the cursor tracking algorithm to use high-precision floating-point coordinates (QPointF) and DPI-aware scaling. The center of the yellow halo now strictly aligns with the physical click hotspot of the cursor across all multi-monitor and high-DPI environments.
Screenshot Purity: Optimized the background capture logic for the "Screen Position" dragging feature. The halo overlay is now temporarily suspended during screen capture to prevent it from being permanently baked into the background image.
UI Layout Alignment: Refined the "Cursor & Halo Settings" layout using a mixed grid and compact horizontal layout to ensure perfect right-side alignment between the cursor size controls and the new halo radius controls.
Bug Fixes
False Alt/Modifier Key Detections: Fixed an issue where the "Alt" key would erroneously display on the screen without being physically pressed. The low-level keyboard hook now utilizes the Windows LLKHF_INJECTED flag to perfectly filter out fake keystrokes injected by third-party IMEs or system processes, while ensuring physical key presses are never missed.
Stuck Keys on Screen: Completely resolved the issue where keys (Alt, Ctrl, Shift, or normal keys) would remain stuck on the screen indefinitely. Implemented a universal 60FPS physical hardware state fallback mechanism (GetAsyncKeyState) that forces any stuck keys to release visually, even if the OS swallows the KEYUP events due to UAC prompts or Alt+Tab window switching.
MouseKeyShow 更新日志
新功能
自适应光标高亮光环:新增了光环辅助定位功能。当鼠标进入专业软件(如 Adobe Illustrator 画布)并被强行替换为极小的自定义光标时,光环会瞬间自动显现以辅助视觉定位;在桌面等成功应用系统大光标的场景下,光环会自动隐藏。
按键屏显智能防遮挡:按键显示卡片新增智能躲避机制。当检测到鼠标指针靠近按键显示区域时,卡片会自动弹跳到屏幕镜像的另一侧,彻底避免遮挡用户的操作视野。
光环专属配置项:在设置界面新增了光环开关与半径调节滑块,支持实时预览与动态生效。
优化与改进
光标热点像素级对齐:重构了光标追踪算法,引入 QPointF 高精度浮点坐标与底层 DPI 缩放换算。现在无论是在多显示器还是高分屏环境下,黄色光环的圆心都能 100% 绝对咬合鼠标指针的物理点击点(Hotspot),消除了视觉偏移。
纯净的背景截图:优化了“屏幕显示位置”定位卡片的背景抓取逻辑。在进行屏幕截图的瞬间,光环覆盖层会被自动挂起隐藏,防止其作为残影被截入桌面背景图中。
设置界面布局对齐:使用底层网格结合紧凑水平布局,重构了“鼠标指针与光环设置”区域。确保了第一行光标大小与第二行光环半径的滑动条和数值文本实现完美的右侧视觉对齐。
问题修复
修复虚假 Alt 键触发:修复了在未按 Alt 键时,屏幕上莫名其妙显示 Alt 键的问题。通过在底层键盘钩子中引入 Windows 原生 LLKHF_INJECTED 标志,精准拦截输入法或第三方辅助软件注入的虚假按键,同时杜绝了真实按键被误杀的情况。
彻底修复按键卡死残留:修复了 Alt、Ctrl、Shift 或普通按键偶尔长时间停留在屏幕上无法消失的 Bug。重构了按键归一化逻辑,并在动画渲染引擎中引入了 60FPS 的全局物理硬件状态兜底检测。无论是因为切换窗口、系统卡顿还是弹出管理员确认框导致按键抬起事件丢失,程序都能强制纠正并清理屏幕残影。