问题
I want to remap the keyboard in the following mode:
2::ctrl
3::shift
4::alt
5::tab
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
Anyone knows of a workaround to catch multiple key presses (like 2,3,e OR 3,4,5) ?
Thanks !
回答1:
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.
来源:https://stackoverflow.com/questions/46902579/autihotkey-some-key-combinations-are-not-intercepted-ex-3-4-5