Add option to timeout mouse pointer - #30
Conversation
|
I made the mods BUT both the touchscreen and the mouse continue to unhide the pointer whereas based on the docs, I thought only the mouse would do so. So: And changed naming to CURSOR_TIMEOUT Please check the latest 'test' to validate it works for you. |
|
sorry for the delay in my response. I've tested with my touch screen and the default 5 seconds timeout. The implementation works as expected. The curser started hidden and remains hidden. Thanks for merging. |
|
So to confirm, on your touchscreen it never reappears? Wonder whether it is an issue with my touchscreen in that perhaps it also "acts" like a mouse too. |
|
Correct, it never reappears with my touchscreen. I made the same test with a USB mouse, the cursor appears while moving and disappiers after the timeout. |
|
Any ideas on why it might not work for my touchscreen? |
|
Unfortunately not. The only reason I could think of is that your touch screen is actually identified as a mouse. This would explain why your touchscreen is behaving as you described. What screen do you use? |
|
@puterboy Is it still a problem? |
|
Yes - it seems to be an issue with the screen I have and it persists. Keeping it open reminds me not to forget to tackle it :) |
|
@puterboy , just some ideas below - see what works for you. What device type does Whereas my unused, unconnected HDMI ports both report as: From https://wayland.freedesktop.org/libinput/doc/1.7.1/udev_config.html, possible list was: Alternately, have you tried switching order of the input class entries in your Alternately, test entirely suppressing your Or adding a Try |
I've added an option to be able to let the mouse pointer time out after defined seconds of idle. This is especially helpful for touch screens as you don't want to see the mouse pointer on touch screens. This has been already discussed in PR #24