AutiHotKey某些键组合未被拦截(例如3、4、5) [英] AutiHotKey Some key combinations are not intercepted (ex 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标签)不起作用. 经过一番调查后,我发现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) ?
谢谢!
推荐答案
这可能是您的键盘的一个限制-某些键盘无法处理三个键的特定组合,这被称为键卡塞".请参见滚动(键)页上的键卡住和重影"部分维基百科.
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屋!