-
Notifications
You must be signed in to change notification settings - Fork 3
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
Issue with touch monitor #2
Comments
I also happen to have a touch screen monitor, I will try take a look this weekend. it might have to do with pointer device code I'm checking for 🤔 |
Thanks Dylan! Is there anything I can do to debug things on my end and provide some information? |
One peculiar thing I noticed is that after a fresh start of Dynamouse, the "move the mouse pointer to the selected display" logic works, but just once. If I e.g. use my Magic Trackpad to move it to a different monitor, another touch event on my touchscreen will control the mouse pointer wherever it is (so, on the other monitor). |
I may have a fix for this on my latest PR, just need to test a bit on my end |
i fixed a few issues when Dynamouse would boot automatically on startup + I added the ability to configure an initial delay before it starts monitoring events (I found this to be a bit useful in complex setups such as mine where I have many many usb devices connected to my music workstation). |
@dylanvorster updated to the latest version, and I'm seeing the same - first event will properly jump the mouse pointer to the touchscreen, but any further touches will not, and just move the pointer around on whichever screen it was previously. |
just want to double check:
I know this is a bit finicky at the moment, im trying to find better ways of dealing with this, the latest version at least only requires the accessibility permissions and no longer requires the input monitoring permission |
Can I suggest removing all instances of the software (permissions and startup items), restarting and then re-installing the new version? (you may have done this already, apologies if you have) |
Did a new release that fixed some HID device selection logic, this might further solve your problem (I hope) |
I did discover that there is a usage type within the USB spec called 'pointer' in conjunction to the 'mouse' identifier, if it still doesnt work for you, I can try add that to the filtering capability |
Apologies for the late reply, have been fighting a nasty ear infection and had no chance to test things further. I did remove all permissions and the old version of the app before installing the new one - permissions were a bit buggy (the app got stuck in "loading..." even though permissions were granted and I needed to restart it a few times), but otherwise the update was successful. Let me try with the latest version! |
Whelp, no luck. 1.1.0 installed, confirmed working (debug logging appeared, and I've managed to take a look at the logs as well), but alas, still the only time it works is the first time I touch the touchscreen after relaunching DynaMouse. I'd recommend you add some more logging options, such as timestamp, as well as more log entries (for example the whole flow logic of: 1, detecting an input from a filtered device 2, checking pointer location 3, moving pointer to new position on selected display - or if not moving it there, an explanation as to why). From the logs, what I'm seeing is that the moment another input is used (in my case, my Magic Trackpad), the listener for the touchscreen events gets disabled, which is why this behaviour occurs:
Oh, also, you might want to normalise the input and display names, see e.g.:
Note how the |
I've got a noname portable monitor with touchscreen - sadly even the EDID is cloned so there's no way to give an exact model.
Dynamouse properly recognises it as an input device, however pinning the pointer to the specific display simply has no effect - using the touchscreen will move the pointer regardless which monitor it is on.
Here's the config:
If there's any further info/logs I can provide, just tell me how and I'll get it ASAP
The text was updated successfully, but these errors were encountered: