https://github.com/mrbeancpp/cursorfinder
Windows平台下的 [Shake to Find Cursor] 晃动鼠标放大光标
https://github.com/mrbeancpp/cursorfinder
cursor shake-find windows
Last synced: about 1 year ago
JSON representation
Windows平台下的 [Shake to Find Cursor] 晃动鼠标放大光标
- Host: GitHub
- URL: https://github.com/mrbeancpp/cursorfinder
- Owner: MrBeanCpp
- License: gpl-2.0
- Created: 2023-12-15T09:54:42.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2024-11-12T08:44:02.000Z (over 1 year ago)
- Last Synced: 2024-11-12T09:29:25.650Z (over 1 year ago)
- Topics: cursor, shake-find, windows
- Language: C++
- Homepage:
- Size: 62.5 KB
- Stars: 14
- Watchers: 2
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# CursorFinder
`Windows`平台下的 `Shake to Find Cursor` :晃动鼠标放大光标 ,防止丢失视野
### Snapshot

### 更换默认光标(Change Default Cursor Image)
Place you own `cursor` Image to the same directory of `exe`, and rename it to `cursor`, like:
- cursor.cur
- cursor.ico
- ... (.jpg jpeg png)
### 原理
鼠标轨迹夹角 < 90° 则判定为`DirectionChanged`,也就是`Corner`,检测两次`Corner`之间的时间间隔 & `distance`来判断**晃动**
> PS:直接设置光标会卡顿,故采用透明 **Widget + Label** 完成光标动画
### 托盘图标
- 可设置开机启动
- 可设置两个`Corner`最大时间间隔 & `Corner`最小距离间隔