Just curious if this is possible, for Rainmeter's MouseOverAction and MouseLeaveAction to be disabled by a parameter such as IgnoreStylus=1 within the Section (Or, if not, the entire skin in the [Rainmeter] section).
The stylus can sometimes trigger an unintended event when the stylus is lifted off of the display, leaving the MouseOverAction or MouseLeaveAction event triggered as it believes the stylus is still in that position.
Thanks.
It is currently September 14th, 2024, 10:22 pm
Can MouseOverActions not be triggered by a stylus?
-
- Posts: 285
- Joined: May 12th, 2019, 8:55 am
-
- Rainmeter Sage
- Posts: 8127
- Joined: February 27th, 2015, 2:38 pm
- Location: Terra Yincognita
Re: Can MouseOverActions not be triggered by a stylus?
Until the developers answer this, it might be possible to combine the mouse over / leave events with the down / up ones to simulate desired over / leave scenarios for such a stylus (i.e. stylus left not just on mouse leave, but also when both mouse over and up already occured; stylus is over otherwise).Cariboudjan wrote: ↑October 5th, 2023, 4:58 pm Just curious if this is possible, for Rainmeter's MouseOverAction and MouseLeaveAction to be disabled by a parameter such as IgnoreStylus=1 within the Section (Or, if not, the entire skin in the [Rainmeter] section).
The stylus can sometimes trigger an unintended event when the stylus is lifted off of the display, leaving the MouseOverAction or MouseLeaveAction event triggered as it believes the stylus is still in that position.
Thanks.
Of course, this won't hold when a stylus is not used, so either some automatic stylus detection via other means (e.g. PowerShell if possible, devcon, or disabling and enabling touchscreen or the stylus itself), or manual setting of a variable on stylus use would be good to toggle between mouse and stylus modes in your skin.
I know, it would be simpler with an option like you suggested, but if you're ok with a workaround in the meantime...