-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Trackpad not re-activating when using a touchscreen #40
Comments
Hi, thank you for reporting this and the pull request. |
This specific touchscreen has 2 entries:
|
I'm having the same issue with a Dell XPS 13 Developer Edition.
|
Hi @mdugas @lukeorland, Some laptops may have internal dummy/shadow mouse pointers which may be adding to the extra count of mouse devices currently plugged-in and thus hamper auto-enable/disable feature. For example on Dell XPS 9370:
In the above output In my opinion, a better approach would be to allow an ignore list of such devices. This functionality was present before the rewrite but I removed it to save time. However, I plan to re-implement it soon. |
The outputs for my Dell XPS 13 9360 are here: |
Here are the outputs for a Lenovo Yoga C930: |
On your setup, the extension recognizes the following devices and types:
As per my understanding, This will be fixed once I implement the ignore devices functionality some time in the coming weeks. |
The devices recognized are:
I think there are two issues here.
|
Is there any progress/workaround with this? I'm struggling with my Thinkpad P52 with Wacom:
the touchpad never gets enabled automatically when my HP bluetooth mouse disconnects. |
Related (to be tested!) issues: askmrsinh#40, askmrsinh#61, askmrsinh#64 and maybe askmrsinh#67
Related (to be tested!) issues: askmrsinh#40, askmrsinh#61, askmrsinh#64 and maybe askmrsinh#67
Related (to be tested!) issues: askmrsinh#40, askmrsinh#61, askmrsinh#64 and maybe askmrsinh#67
My laptop has a built-in touch screen (Lenovo Yoga C930) and while connecting a mouse disabled the trackpad, disconnecting the mouse didn't reactivate the pad. According the the debug logs I posted on https://pastebin.com/eEgx5BtU the number of mouse detected when disconnecting my mouse is 2 (line 30) and when connecting it is 3 (line 6).
According to the following code block, one of the trigger for "no mouse" is the mouseCount being 0 and mouse present is mouseCount being different than 0. https://github.com/user501254/TouchpadIndicator/blob/783300252b6e04a9b694ceb17158796086616cf5/extension.js#L548-L560
I can't confirm if this also affects non-touchscreen devices or if other touchscreen devices have the same behavior.
I wonder if the following changes would be an appropriate solution for this:
add a button in the preferences to "calibrate" the extension by reading the mouseCount while no external mouse are connected and adding the value as a property to the extension.
get the code block to use that property instead of the hardcoded 0, plus change the mouse presence detection to be strictly greater than the property defined above / when mouse disconnected, the value being lower or equal than the property.
The text was updated successfully, but these errors were encountered: