yekingyan 最近的时间轴更新
yekingyan

yekingyan

V2EX 第 331271 号会员,加入于 2018-07-23 13:23:16 +08:00
yekingyan 最近回复了
10 天前
回复了 kinboy 创建的主题 程序员 有没有鼠标连击过滤器之类的软件
我前几天碰到同样的问题的,罗技 G102 。
可以通过 ahk 解决。下载 AHK 软件并安装,将下面内容保存为 main.ahk 文件,然后以管理员身份运行这个文件

```ahk
#Requires AutoHotkey v2.0

class Timer { ; 延时触发一次
static PRIORITY := -1

__New(callback, delay := 1000) {
this.count := 0
this.delay := delay
this.timer := ObjBindMethod(this, "Tick")
this.isWait := false
this.callback := callback
}

Start() {
this.isWait := true
SetTimer(this.timer, -this.delay, Timer.PRIORITY)
return this
}

Stop() {
SetTimer(this.timer, 0)
this.isWait := false
return this
}

ReRun(delay := "") {
if (delay != "") {
this.delay := delay
}
this.count := 0

this.Stop()
this.Start()
return this
}

Tick() {
this.count++
this.callback()
this.isWait := false
}

isWaiting() {
return this.isWait
}
}

~LButton:: {
KeyWait "LButton"
BlockInput(true)
Timer((t) => (BlockInput(false)), 30).Start() ; 无视 30 毫秒内双击
}

```
https://github.com/yekingyan/flypy-yk
安卓安装同文输入法,可以试试这个,直接五笔与小鹤双拼混输。还能用小鹤双拼反查五笔
关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   2226 人在线   最高记录 6543   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 18ms · UTC 15:36 · PVG 23:36 · LAX 08:36 · JFK 11:36
Developed with CodeLauncher
♥ Do have faith in what you're doing.