diff options
| author | Roy Ben Shabat <Roy.mail.net@gmail.com> | 2020-06-07 09:50:29 +0300 |
|---|---|---|
| committer | Roy Ben Shabat <Roy.mail.net@gmail.com> | 2020-06-07 09:50:29 +0300 |
| commit | 714c2fd7941c3f65e363a3d9cc33765c746f0c59 (patch) | |
| tree | d936bc5a7c64b5a3227a41ae742142fbb835bca8 /Software/Visual_Studio/Tango.SimulateTouch.UI/Native | |
| parent | 8f02bc33eab3c82aac624c390c0805bf29816108 (diff) | |
| download | Tango-714c2fd7941c3f65e363a3d9cc33765c746f0c59.tar.gz Tango-714c2fd7941c3f65e363a3d9cc33765c746f0c59.zip | |
Refined touch simulation test.
Diffstat (limited to 'Software/Visual_Studio/Tango.SimulateTouch.UI/Native')
| -rw-r--r-- | Software/Visual_Studio/Tango.SimulateTouch.UI/Native/TouchSimulate.cs | 1 |
1 files changed, 1 insertions, 0 deletions
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]; |
