The trackpad's left button has stopped clicking so until I replace the keyboard, I have switched to using the touchpad. Never worked 100% reliably, with right button responding only to every second click and the left button becomes virtually sticky at times, but the greatest nuisance has always been the proneness to accidental touching while typing. There were some driver versions which tried to address that but never reliably.
So I have some up with an idea - and gemini put it to action - that the touchpad and its left click should only work when fn button is pressed. Makes you use the mouse as a minigun, so no drinking coffee while navigating the screen but it has become completely immune to accidental touches.
Here is how to do it.
1. Install autohotkey
2. create a file touchfreeze.ahk
3. modify its content with below code.
4. save the file and double-click it.
enjoy.
#NoEnv
SendMode Input
; State variable to keep track of whether Fn key is pressed
FnKeyPressed := 0
; Check if the Fn key (SC163) is being pressed
SC163::
FnKeyPressed := 1
BlockInput, MouseMoveOff ; Enable mouse input
SetTimer, DisableMouseInput, -1 ; Set a timer to disable mouse input after 1 ms
return
; Check if the Fn key (SC163) is being released
SC163 Up::
FnKeyPressed := 0
BlockInput, MouseMove ; Disable mouse input immediately
return
; Check if the left mouse button is pressed down
LButton::
if FnKeyPressed = 1
Send, {LButton Down}
return
; Check if the left mouse button is released
LButton Up::
Send, {LButton Up}
return
DisableMouseInput:
If !FnKeyPressed
BlockInput, MouseMove ; Disable mouse input
return
Take a look at our
ThinkPads.com HOME PAGE
For those who might want to contribute to the blog, start here: Editors Alley Topic
Then contact Bill with a Private Message
ThinkPads.com HOME PAGE
For those who might want to contribute to the blog, start here: Editors Alley Topic
Then contact Bill with a Private Message
Useful improvement of x230 touchpad functionality
-
- Similar Topics
- Replies
- Views
- Last post
-
-
Disable Touchpad on ThinkPad T490?
by Clueless in Seattle » Tue Jan 20, 2026 9:57 pm » in ThinkPad T430-T495 / T530-T590 Series - 3 Replies
- 4544 Views
-
Last post by dcfbf
Sun Feb 08, 2026 1:41 am
-
-
-
can i swap the display + lid from an x220tablet to a x230 tablet chassis?
by rezenee » Wed Jan 21, 2026 8:03 am » in ThinkPad X200/X201/X220 and X300/X301 Series - 0 Replies
- 5492 Views
-
Last post by rezenee
Wed Jan 21, 2026 8:03 am
-
-
-
WTB] [CAN-ON] X230 Motherboard with i7-3612QE (35W Quad Core)
by X230X220 » Mon Jan 26, 2026 7:35 am » in Marketplace - Forum Members only - 0 Replies
- 4004 Views
-
Last post by X230X220
Mon Jan 26, 2026 7:35 am
-
-
-
Will X220 Tablet palmrest fit X230 Tablet?
by tts_rayhan » Sat Feb 07, 2026 7:28 pm » in ThinkPad X230-X280 / X390 Series - 0 Replies
- 4041 Views
-
Last post by tts_rayhan
Sat Feb 07, 2026 7:28 pm
-
Who is online
Users browsing this forum: No registered users and 39 guests



