-
Notifications
You must be signed in to change notification settings - Fork 0
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
Stuck on Mouse Left Pressed until Pen Touch #8
Comments
I doubt this is an issue with my plugin, what is your binding set to. A diagnostic would be appreciated (Help > Export Diagnostics in the UX) |
Also have you tried the new version (1.1.8), which is awaiting some checks before being submitted to the plugin repo |
You mean the tip binding? If so it is set to left mouse button. I can set it to nothing but then I am unable to release the left button from touch. I did not try the new version, I can check today. |
Could you try using Touch Gestures (Available in the plugin manager) instead of using left click in the UX? Installation guide available at wiki link or on the repo's README There is no hover for touch, so there is no way to prevent it from left clicking when you don't want it to. |
Issue identified, no ETA for a fix cause i have absolutely no idea on how to fix it OTD.EnhancedOutputMode/OTD.EnhancedOutputMode/Output/EnhancedRelativeOutputMode.cs Lines 106 to 122 in 96b7c4e
Right now, i don't send a report unless pressure is non-zero (pressed). If i try sending a report when pressure is 0, entirety of relative mode breaks. |
Absolute Mode was an easy fix, Relative Mode isn't going to be, again, i have no singular idea of how to fix it |
The issue remains in absolute mode.
I am not sure what you mean by this. Setting up a gesture that releases the mouse button? |
Odd, can't replicate it anymore
Any press will result in a left click, even if you just want to move your mouse, that's why I'm recommending my touch gesture plugin instead of using left click in the UX which is intended for pen and Absolute Mices.
That's what happens if you don't enable, both the |
2024-12-03.02-22-26.mp4Just can't replicate it in Absolute mode like in this vid, and can't replicate it in relative mode anymore either.
|
Here's the log I believe you mean: I apologize if this is nonsense, but I've been trying to understand the code and in TouchConvertedReport.cs:HandleReport you make sure to never report a position as null. Could this possibly be related? |
The pressure is what matters, here, and in the case where there are no active touch, we just use the last position (to avoid some issues with relative mode specifically) & set pressure to 0. The reason why i convert touch to pen inputs are :
I won't lie that the processing to convert touch inputs to pen inputs needs a rewrite, but don't exactly have the time for that. |
Here's a cleaner report I think: tablet-data.txt |
We could just not bother setting the pressure, but then we loose Pen Tip binding usage on touch |
When I touch the tablet with my hand instead of the pen, it sends a mouse left pressed signal, but it does not send a release when I stop. This means that I cannot left click until I touch the tablet with the pen. Once I do, it is fixed until the next time I use touch.
Happy to provide any necessary info.
The text was updated successfully, but these errors were encountered: