V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX  ›  yekingyan  ›  全部回复第 1 页 / 共 1 页
回复总数  2
24 天前
回复了 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   ·   实用小工具   ·   2491 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 12ms · UTC 07:13 · PVG 15:13 · LAX 00:13 · JFK 03:13
Developed with CodeLauncher
♥ Do have faith in what you're doing.