Skip to content

Commit

Permalink
New features and fixes
Browse files Browse the repository at this point in the history
- Added feature to select where on screen fixed location will click
- Fixed Y value for fixed location incorrectly using X value
- Disabled selecting Start button when no click types are enabled
- Reset button now takes an extra confirmation press
- Added Check box to enable window always being on top under Settings group
- Fixed ghosting issue when selecting random area
- Made box for selecting random area thicker
- Hotkey textbox is now ReadOnly and Shortcuts have been disabled on it
- Cleaned up and organized code
  • Loading branch information
horiuchii committed Jan 26, 2022
1 parent b12041b commit 6ce123b
Show file tree
Hide file tree
Showing 7 changed files with 472 additions and 305 deletions.
4 changes: 1 addition & 3 deletions AutoClicker/AutoClicker.cs
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ private void Click()
mi = new Win32.MOUSEINPUT
{
dx = Win32.CalculateAbsoluteCoordinateX(x),
dy = Win32.CalculateAbsoluteCoordinateX(y),
dy = Win32.CalculateAbsoluteCoordinateY(y),
dwFlags = Win32.MouseEventFlags.Move | Win32.MouseEventFlags.Absolute
}
};
Expand Down Expand Up @@ -159,9 +159,7 @@ private void Click()
{
// Add a delay if it's a double click.
if (i == 1)
{
Thread.Sleep(50);
}

if (leftClick)
{
Expand Down
301 changes: 166 additions & 135 deletions AutoClicker/MainForm.Designer.cs

Large diffs are not rendered by default.

Loading

0 comments on commit 6ce123b

Please sign in to comment.