yekingyan's recent timeline updates
yekingyan

yekingyan

V2EX member #331271, joined on 2018-07-23 13:23:16 +08:00
yekingyan's recent replies
Apr 23, 2024
Replied to a topic by 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
安卓安装同文输入法,可以试试这个,直接五笔与小鹤双拼混输。还能用小鹤双拼反查五笔
About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5548 Online   Highest 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 31ms · UTC 07:21 · PVG 15:21 · LAX 00:21 · JFK 03:21
♥ Do have faith in what you're doing.