Couldn't find a tool for this so I made one. For use with non-Lenovo, less buggy Synaptic drivers. =)
Let me know if it works.
.exe Download: https://docs.google.com/file/d/0B4sC2-vITmIXSVI5T0pHTTRZUE0/edit
Autohotkey source
Code:#SingleInstance force OnMessage(0x1A, "TOGGLE") ; Listen to WM_SETTINGCHANGE return TOGGLE(wParam, lParam) { if (lParam = 4450664) ; message 4450664 is "ConvertibleSlateMode" { mode := DllCall("GetSystemMetrics", UInt, 0x2003) ; Get SM_CONVERTIBLESLATEMODE. 0 = slate mode, 1 = laptop mode if (mode = 0) ; in slate mode { SynAPI:=ComObjCreate("SynCtrl.SynAPICtrl"), SynDev:=ComObjCreate("SynCtrl.SynDeviceCtrl") SynAPI.Initialize SynDev.Select(SynAPI.FindDevice(0,2,-1)) SynDev.SetLongProperty(268435825, State:=1) ; 1 means off here return } else if (mode = 1) ; in laptop mode { SynAPI:=ComObjCreate("SynCtrl.SynAPICtrl"), SynDev:=ComObjCreate("SynCtrl.SynDeviceCtrl") SynAPI.Initialize SynDev.Select(SynAPI.FindDevice(0,2,-1)) SynDev.SetLongProperty(268435825, State:=0) return } } } SC13F::TouchpadToggle() ; SC13F is keycode for touchpad toggle on keyboard. Not actually "F6" TouchpadToggle() { SynAPI:=ComObjCreate("SynCtrl.SynAPICtrl"), SynDev:=ComObjCreate("SynCtrl.SynDeviceCtrl") SynAPI.Initialize SynDev.Select(SynAPI.FindDevice(0,2,-1)) SynDev.SetLongProperty(268435825, State:=(!SynDev.GetLongProperty(268435825) ? 1 : 0)) }
-
Sorry for being uninformed, but doesn't touchpad get disabled automatically when in non-laptop modes, and enabled again when in laptop mode?
Or it doesn't when used with a certain version of Synaptic drivers? Which drivers are those, and what's the benefit over Lenovo stock ones? -
I just installed the synaptics driver yesterday, and just figured out that the touchpad stopped shutting off when i would switch to tablet mode. I did a google search and this post came up, so i gave your solution a shot, and it woorked for me!! So thank you very much sir!! The touchpad is turning off when i put the yoga into tablet mode and turning back off when i flip it back to laptop mode. You are Awesome.
-
That feature doesn't work when using a non-yoga 2 driver such as the latest Synaptic driver. The latest drivers are on the synaptic website and they are apparently much less buggy. When I had the stock yoga 2 drivers installed, the cursor would jump every time I lift my finger. That was a huge problem because I was never able to actually point at anything I intended. This actually happens with the latest drivers for me but it is very rare.
-
How do you install the synaptics driver? I get a prompt that it is not signed...
-
You'll need to disable driver signature enforcement. Check this link
FotoClub Inc - How to Disable Driver Signature Enforcement to allow installation of Windows 7 Printer Drivers on Windows 8
This is safe as long as you know the driver you're installing is safe. I'm sure Synaptic is legit. Just restart to reenable. -
awesome, thanks for the script!!!
-
Dear dn00,
First I want to thank you very much for your script, it is really needed to enjoy fully our beautiful Yoga.
I confirm that the keyboard toggle to enable/disable the touchpad works very well with newer Synaptics drivers.
However, I cannot get the script to automatically enable/disable it. I am using driver version 18.1.7.8 and also tried version 18.1.3.0 without success.
I might think the problem would come from the "slate mode detection" because when I insert (see attached file) this script by iDrone ( Disable synaptics touchpad via a hotkey. - Support - AutoHotkey Community) into yours, nothing happens, whereas when I run it independently, it works (enable/disable touchpad).
PD: keep in mind it is the second time I manipulate a script lol, so I could be totally wrong or have inserted it badly into yours.
Attached Files:
-
-
I thought the newest Synaptic driver was version 17.0.19?
At least that's what it is on Synaptic's download page: Drivers – Synaptics
The stock Y2P is v17.0.8.7 (from Aug 2013), and the stock for Yoga 2 (non-pro) is newer v17.0.14.71.
EDIT:
OK, I found the Synaptic driver version 18.1.7.8 at HP's site http://h10025.www1.hp.com/ewfrf/wc/softwareDownloadIndex?cc=us&lc=en&softwareitem=ob-131896-1
or the list of latest drivers here: http://dellwindowsreinstallationguide.com/driver-sets/dell-touchpad-drivers/
How does it compare to stock Yoga 2 Pro touchpad driver? -
Yes, Synaptics don't seem to update the drivers on their webpage anymore.
Regarding the comparison between the latest driver and the stock one, my experience is better accurateness (the cursor doesn't jump at all anymore) and more customization options. -
I have a Yoga 2 (non-Pro) and I didn't even need this to get the touchpad toggle key to turn on/off the touchpad.. and if I go to tablet mode everything turns off.. However in tent/stand mode everything is still enabled so I'm not sure if this script actually checks for that or not.
-
Friends,
Just to let you know that, after unsuccessfully trying to use a Autohotkey script to disable touchpad in tablet mode, I've tried all the Yoga family (old and newest, all sizes) touchpad drivers newer than the original Yoga 2 Pro one.
I've come to a successful result with the Yoga 2 11 Notebook latest driver version (18.0.7.24) that is available on Home - Lenovo (US) which works perfectly ! :thumbsup:
The archive contains Elan and Synaptics drivers, moreover twice (for Win 8 and 8.1) so after uncompressing it, I only kept the Win 8.1 Synaptics v18 installation files and zipped them for further install.
No more unprecise touchpad behavior and still auto disable when tablet mode (and keyboard hotkey functional) !
-
Does this have chiral scroll?
-
Hi dn00,
I tried your script program and it seems to work (I am now using the Synaptics driver from Toshiba). The only issue I have is that it only works right after I install it. Is there something different I have to do so that it automatically runs after I restart the computer, without reinstalling it each time? Thanks. -
Thank you for this! I am using Windows 10 on my Yoga 2 Pro. The F6 hotkey works but the automatic switching doesn't. Does the state/mode detection depend on Lenovo Transition? I uninstalled Transition because it has no effect in Windows 10.
-
You mean the try icon and the app itself doesn't appear after reboot? Try putting the exe file in C:\Users\%username%\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup .
Yoga 2 Pro - Made a script that reenables the touchpad toggle (F6) and automatically disable/enable the touchpad in slate mode
Discussion in 'Lenovo' started by dn00, Apr 23, 2014.