Added some faux mouse polling since the movements were creating way too many events (this wasn't an issue in the past with low DPI mice)

Added a check to make sure the user cannot use the same Key twice for actions
Added a count down timer update for when a user is setting the start position so they know how long they need to wait
Added an offset to the final click in the action so the mouse re-clicks the app window into focus
Removed some unused code and Cleaned up some methods
This commit is contained in:
2022-09-29 00:06:54 +01:00
parent bb18cb14ce
commit a2ad5443d5
10 changed files with 177 additions and 38 deletions

View File

@ -1,9 +1,9 @@
<Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()> _
<Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()>
Partial Class FrmCapture
Inherits System.Windows.Forms.Form
'Form overrides dispose to clean up the component list.
<System.Diagnostics.DebuggerNonUserCode()> _
<System.Diagnostics.DebuggerNonUserCode()>
Protected Overrides Sub Dispose(ByVal disposing As Boolean)
Try
If disposing AndAlso components IsNot Nothing Then
@ -20,12 +20,14 @@ Partial Class FrmCapture
'NOTE: The following procedure is required by the Windows Form Designer
'It can be modified using the Windows Form Designer.
'Do not modify it using the code editor.
<System.Diagnostics.DebuggerStepThrough()> _
<System.Diagnostics.DebuggerStepThrough()>
Private Sub InitializeComponent()
Me.components = New System.ComponentModel.Container()
Me.Label1 = New System.Windows.Forms.Label()
Me.Label2 = New System.Windows.Forms.Label()
Me.Label3 = New System.Windows.Forms.Label()
Me.LblKeySet = New System.Windows.Forms.Label()
Me.MovePoleTick = New System.Windows.Forms.Timer(Me.components)
Me.SuspendLayout()
'
'Label1
@ -63,6 +65,11 @@ Partial Class FrmCapture
Me.LblKeySet.Size = New System.Drawing.Size(0, 13)
Me.LblKeySet.TabIndex = 3
'
'MovePoleTick
'
Me.MovePoleTick.Enabled = True
Me.MovePoleTick.Interval = 1
'
'FrmCapture
'
Me.AutoScaleDimensions = New System.Drawing.SizeF(6.0!, 13.0!)
@ -84,4 +91,5 @@ Partial Class FrmCapture
Friend WithEvents Label2 As Label
Friend WithEvents Label3 As Label
Friend WithEvents LblKeySet As Label
Friend WithEvents MovePoleTick As Timer
End Class