From 714c2fd7941c3f65e363a3d9cc33765c746f0c59 Mon Sep 17 00:00:00 2001 From: Roy Ben Shabat Date: Sun, 7 Jun 2020 09:50:29 +0300 Subject: Refined touch simulation test. --- Software/Visual_Studio/Tango.SimulateTouch.UI/Native/TouchSimulate.cs | 1 + 1 file changed, 1 insertion(+) (limited to 'Software/Visual_Studio/Tango.SimulateTouch.UI/Native') diff --git a/Software/Visual_Studio/Tango.SimulateTouch.UI/Native/TouchSimulate.cs b/Software/Visual_Studio/Tango.SimulateTouch.UI/Native/TouchSimulate.cs index 05c73217f..f0fd1095e 100644 --- a/Software/Visual_Studio/Tango.SimulateTouch.UI/Native/TouchSimulate.cs +++ b/Software/Visual_Studio/Tango.SimulateTouch.UI/Native/TouchSimulate.cs @@ -15,6 +15,7 @@ namespace Tango.SimulateTouch.UI.Native int y = this.GetRandomSeed().Next(50, 1080 - 100); SimulateTouch(x, y); } + private Random GetRandomSeed() { byte[] bytes = new byte[4]; -- cgit v1.3.1