Hi all, I have an issue with three of my keyboards (all having the same batch manufacturing issue...) that register presses on separate keys before/after a specific keypress, specifically:
1. When I press Backspace, it would sometimes register 1 then Backspace or Backspace then 1
2. When I press T, it registers T then Z or Z then T
A normal keyboard chatter block doesn't work for this as the keys are different and sometimes the actual keypress registers after the incorrect one is triggered.
Does anyone have a script that can suppress this? Thanks!
Blocking chatter on different keys
Re: Blocking chatter on different keys
Welcome to this AutoHotkey forum!
There is another script recently posted showing a correction for this. I believe that it was when the keyboard inserted / upon pressing a different key.
A basic squelch: viewtopic.php?p=482808#p482808
There is another script recently posted showing a correction for this. I believe that it was when the keyboard inserted / upon pressing a different key.
A basic squelch: viewtopic.php?p=482808#p482808
-
- Posts: 2
- Joined: 05 Oct 2022, 20:46
Re: Blocking chatter on different keys
Thanks for this! I modified your script (shown below) and confirmed that it works. However, I still can't solve my issue of '1' getting registered before the Backspace when I am only pressing Backspace. I see two possible solutions to this:mikeyww wrote: ↑06 Oct 2022, 06:37Welcome to this AutoHotkey forum!
There is another script recently posted showing a correction for this. I believe that it was when the keyboard inserted / upon pressing a different key.
A basic squelch: viewtopic.php?p=482808#p482808
1. If '1' and 'Backspace' are pressed within N milliseconds of each other, register only the Backspace
2. While 'Backspace' is being pressed down, suppress '1' -- although I feel this solution may lead to some unintended conflicts.
How can I code these in AHK? Thanks for your help
Code: Select all
#SingleInstance Force
~Backspace Up::end := A_TickCount + 15
#If (A_TickCount < end)
1::Return
#If
Re: Blocking chatter on different keys
Perhaps:
Code: Select all
~Backspace::end := A_TickCount + 25
#If (A_TickCount < end)
1::Return
#If