Skip to content

Commit

Permalink
fix: 降低光标移动速度 #43
Browse files Browse the repository at this point in the history
  • Loading branch information
snomiao committed May 1, 2022
1 parent 0dff5e7 commit 3e05303
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Modules/01.2-插件-编辑增强.ahk
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ global 编辑增强_SpeedRatioX := CapsLockX_Config("EditEnhance", "SpeedRatioX"
global 编辑增强_SpeedRatioY := CapsLockX_Config("EditEnhance", "SpeedRatioY", 1, "光标加速度比率, 默认为 1, 你想慢点就改成 0.5 之类")
global 编辑增强_PageSpeed := CapsLockX_Config("EditEnhance", "PageSpeed", 1, "翻页速率")

global 方向键模拟 := new AccModel2D(Func("方向键模拟"), 0.1, 编辑增强_SpeedRatioX * 50, 编辑增强_SpeedRatioY * 30)
global 方向键模拟 := new AccModel2D(Func("方向键模拟"), 0.1, 编辑增强_SpeedRatioX * 15, 编辑增强_SpeedRatioY * 15)
global 翻页键模拟 := new AccModel2D(Func("翻页键模拟"), 0.1, 20 * 编辑增强_PageSpeed)
方向键模拟.最大速度 := 250
翻页键模拟.最大速度 := 250
Expand Down

0 comments on commit 3e05303

Please sign in to comment.