I am trying to block these ghost touches by an AHK workaround. This is my test script (EDITED Aug. 22):
Code: Select all
GUI, +AlwaysOnTop -Border -SysMenu +Owner -Caption +ToolWindow -DPIScale
GUI, Color, red
GUI, Show, NoActivate X990 Y0 w20 h25, GUI
; Just to see where the blocked area is.
#If BlockedTap()
LButton::return
#If
BlockedTap() {
cm := A_CoordModeMouse
CoordMode, Mouse, Screen
MouseGetPos, x, y
CoordMode, Mouse, % cm
If (x>=990) && (x<=1010) {
;FileAppend, %A_Hour%:%A_Min%: %x% %y%`r`n, %A_ScriptDir%\LogFile.txt
;SoundBeep
return 1
}
Else return 0
}
The script blocks mouse clicks, but not touchscreen taps.
Does anyone here have a brilliant idea on how to solve this problem?
(EDITED Aug. 22).