Reputation: 316
I am coding a game on a Touchscreen with many players at the same time. The issue is, when there are 2 or more touches, a little square is appearing on the screen. It seems to be a unity built-in feature as it is still present in an empty project.
Is there a way to prevent this annoying little square to appear ? I already disabled magic touch shortcuts in windows. And this doesn't appear on the desktop home screen.
I am able to listen to the touches. It seems to be only a visual thing.
Even when I disable multitouch with Input.multiTouchEnabled = false;
It still appears.
I also tried to remove the 18 default Axes in the Input Manager.
My goal is to handle every touch separately, without listening to pinch, long press, or scroll interactions. Each player has only to tap somewhere on the screen.
Thanks for you time
Upvotes: 0
Views: 238
Reputation: 15
For anyone still facing this issue even after following @Bibimission method, yes I did this and the square still appears, try doing this in specific order:
Control Panel -> Pen and Touch settings
Disable the Press and Hold for right-click, hit Ok, and then hit Apply.
Then, you disable the Show visual feedback option, hit Apply.
It's a very weird bug which only happens in Windows 11. Found the fix through Microsoft's forum.
Hope this helps.
Upvotes: 0
Reputation: 316
Solved it by myself. I completely disabled Touch feedback in the windows parameters. I don't think it is the only way to do that but it works.
Configuration Panel > Pen and Touch
Unmark "Show visual feedback when touching the screen"
Upvotes: 0