Closed kuonji-arisu closed 1 year ago
Update: It seems that this problem does not only occur after the first launch of GHelper, but also after a period of time without triggering FN+F10.
@kuonji-arisu does a switch work in general? I thought on asus TUF models touchpad toggle were ignored ? :)
@seerge This problem only occurs after the first boot or a period of time without triggering FN+F10, and then it will display normally when triggered again.
@kuonji-arisu my question if FN+F10 actually turn touchpad off or on ? Currently app uses USB call to do that, and that seemed to work only on ROG models, not TUF
@seerge actaully works, but display wrong
@kuonji-arisu do you have asus optimization service running?
no, all asus service are disabled
@kuonji-arisu oke, thanks :) currently app "reads" touchpad status from windows registry
Can you please check what do you have under SOFTWARE\Microsoft\Windows\CurrentVersion\PrecisionTouchPad\Status
(especially on a first boot) ?
It should be Enabled : 1
flag there (if it's actually enabled)
Or check what do you have under Settings -> Bluetooth & Devices -> Touchpad (on first boot)
https://stackoverflow.com/questions/72819528/change-windows-11-touchpad-toggle-programmatically
@kuonji-arisu or you can just try this build, it will write current touchpad status (from windows registry) on the moment BEFORE toggling it:
The options in the registry/settings always sync with the actual state of the touchpad( after refresh registry or re-open setting page ), only the display of GHelper sometimes deviates. After my multiple tests, this problem does not occur every time I start up ghelper, and I have not figured out its exact rules. In addition, it not only shows “ON” when it should show “OFF”, sometimes it will also reverse - this depends on the touchpad state before closing GHelper, osd layout will show same status as last time. btw, the new build did not solve this problem.
@kuonji-arisu new build is not supposed to solve anything, i have just added a log entry there :) can you try to "replicate" situation and post a log after that here ? : ) thanks
2023/7/6 17:22:12: WMI event 107
2023/7/6 17:22:12: Touchpad status:0
2023/7/6 17:24:27: WMI event 107
2023/7/6 17:24:27: Touchpad status:0
2023/7/6 17:24:28: WMI event 107
2023/7/6 17:24:28: Touchpad status:1
2023/7/6 17:24:29: WMI event 107
2023/7/6 17:24:29: Touchpad status:0
<- re open ghelper with touchpad on
2023/7/6 17:26:28: ------------
2023/7/6 17:26:28: App launched: ASUS TUF Gaming F15 FX507ZM_FX507ZM :0.95.0.0zh-CN
2023/7/6 17:26:29: NVIDIA GeForce RTX 3060 Laptop GPU
2023/7/6 17:26:30: CPU: -1 - 12th Gen Intel(R) Core(TM) i7-12700H - Intel64 Family 6 Model 154 Stepping 3
2023/7/6 17:26:30: AutoSetting for Online
2023/7/6 17:26:31: Input device not found
2023/7/6 17:26:31: Mode = 0 : OK
2023/7/6 17:26:31: Eco flag : 0
2023/7/6 17:26:31: Mux flag : 1
2023/7/6 17:26:31: ScreenOverdrive = 0 : OK
2023/7/6 17:26:31: BatteryLimit = 100 : OK
2023/7/6 17:26:31: BatteryLimit = 100 : OK
2023/7/6 17:26:31: TUF Brightness = 129 : OK
2023/7/6 17:26:31: Monitor Power On
2023/7/6 17:26:33: Latest version 0.95.0.0
2023/7/6 17:26:37: WMI event 107
2023/7/6 17:26:37: Touchpad status:0 <- display on but actually off
2023/7/6 17:26:57: WMI event 107
2023/7/6 17:26:57: Touchpad status:0 <- now display on and actually on
2023/7/6 17:26:59: WMI event 107
2023/7/6 17:26:59: Touchpad status:1
@kuonji-arisu thanks, can you try this build instead ? :
I haven’t reproduced the problem in the new build for now, maybe it was solved. By the way, the “OFF” in the layout became “OF”.
@kuonji-arisu that's a typo :) sorry. In new build app will try to read touchpad status AFTER toggling it, so it should be accurate.
The reason i didn't do that in a first place, is cause windows is sometimes slow with updating a registry -> therefore it could be that actual state is changed, but registry would report old value.
GHelper.zip This one should say OFF :)
The layout is displayed normally now, thank you!
Steps to reproduce the behavior:
Expected behavior layout shows "OFF"
Asus software
App Logs
Desktop (please complete the following information):