Skip to content

Instantly share code, notes, and snippets.

View johntor's full-sized avatar

Johntor johntor

  • TNT
  • Greece
View GitHub Profile
@johntor
johntor / G910 Keyboard Fix.ahk
Created September 24, 2022 08:12 — forked from QuietNoise/G910 Keyboard Fix.ahk
G910 Keyboard Fix for double typing problem
;What does this script do?
;It's a workaround for broken G910 Logitech keyboards (possibly other keyboards too) whereby some keys occasionally register multiple keystrokes for one kkkkkeypress.
;The key bug appears because keyboard registers multiple keystrokes in a very short timespan even though you pressed the key only once.
;This script makes it so the subsequent keystrokes registered in a very short timespan are ignored thus outputing the key only for the first stroke.
;List all your broken keys between quotes below. I.e. if your broken keys are g and f then the line below shoud be
;brokenKeys := "gf"
brokenKeys := "gf"