AutiHotKey 某些组合键不被拦截(例如 3,4,5) [英] AutiHotKey Some key combinations are not intercepted (ex 3,4,5)

查看:37
本文介绍了AutiHotKey 某些组合键不被拦截(例如 3,4,5)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在以下模式下重新映射键盘:

I want to remap the keyboard in the following mode:

2::ctrl
3::shift
4::alt
5::tab

我的问题是同时按下 3、4、5(相当于按下 alt shift tab)不起作用.经过一番调查后,我发现 ahk 在被按下时无法抓住某些键(2,3,e 或 3,4,5).这是我的代码,通过它我发现了这一点

My problem is that pressing at the same time 3,4,5 (equivalent to pressing alt shift tab) does not work. After investigating a little I have found that ahk can not catch some keys when being pressed together (2,3,e OR 3,4,5). Here is my code through which I have found out this

2::
    tooltip 2
    sleep 500
    tooltip
return
3::
    tooltip 3
    sleep 500
    tooltip
return
4::
    tooltip 4
    sleep 500
    tooltip
return
5::
    tooltip 5
    sleep 500
    tooltip
return
e::
    tooltip e
    sleep 500
    tooltip
return

有谁知道捕捉多个按键(如 2,3,e 或 3,4,5)的解决方法?

Anyone knows of a workaround to catch multiple key presses (like 2,3,e OR 3,4,5) ?

谢谢!

推荐答案

这可能是您的键盘的限制 - 某些键盘无法处理三个键的特定组合,这称为按键卡住".请参阅 Rollover (key) 页面中的Key jamming and ghosting"部分维基百科.

This is probably a limitation of your keyboard - some keyboards can't handle particular combinations of three keys, which is known as "key jamming." See the "Key jamming and ghosting" section in the Rollover (key) page on Wikipedia.

这篇关于AutiHotKey 某些组合键不被拦截(例如 3,4,5)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆