Skip to content

A lightweight auto-clicker for Python using pynput and multi-threading. Features hotkey toggling, real-time control, and smooth operation tailored for Sky: Children of the Light.

Notifications You must be signed in to change notification settings

Haruji23/auto_clicker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

5 Commits
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿ“Œ Auto Clicker

A Python-based auto-clicker with customizable hotkeys, designed for Sky: Children of the Light but adaptable to other contexts. Utilizes multi-threading for seamless mouse control and keyboard listening in parallel.

๐Ÿš€ Features

  • โŒจ๏ธ Hotkey support: Start/stop with your own shortcut
  • ๐Ÿ–ฑ๏ธ Mouse automation: Simulate fast and responsive clicks
  • ๐Ÿงต Multi-threaded architecture: Smooth concurrent execution
  • ๐ŸŽฎ Game-friendly: Designed with Sky: Children of the Light in mind
  • ๐Ÿ’ป Cross-platform-ready: Tested on Windows 11, adaptable for others

๐Ÿ› ๏ธ Requirements

  • Python 3.12 or higher
  • pynput library

Installation Guide

Make sure that Python version is Python 3.12.10 or higher

๐ŸชŸ Windows

Install Python

  1. Download Python from the python official website
  2. Run the installer and check the box "Add Python to PATH"
  3. Click "Install Now"

Or use Command Prompt (Windows 11):

winget install Python.Python

Install the pynput library via Command Prompt (cmd)

pip install pynput

๐Ÿง Linux (Ubuntu / Debian)

Install Python3 (Updated your OS first)

sudo apt install python3 python3-pip

Install the pynput library via Terminal

sudo apt pip3 install pynput

๐ŸŽ macOS

Install Python3

brew install python

Install the pynput library via Terminal

pip3 install pynput

๐Ÿ”ง Customizing

In auto_clicker_script.py file

  • TOGGLE_KEY is the Hotkey to start/stop the auto-clicker (Default is F6 key)
  • STOP_KEY is the Hotkey to exit the program (Default is F7 key)
  • CLICK_BUTTON is the Mouse button to click (Default is right click)
  • CLICK_INTERVAL is the Time in seconds between clicks (Default is 3 seconds)

๐ŸŽฏ Usage

  1. Run the script on:
    • Windows (Command Prompt) python auto_clicker_script.py
    • Linux (Ubuntu/Debian) and macOS (Terminal) python3 auto_clicker_script.py
  2. Use the Hotkey to Start/Stop Clicking
  3. Use the Hotkey to Exit the Auto Clicker Program

๐Ÿ™Œ Credits

Developed by Haruji23. Inspired by the joy of playing Sky: Children of the Light and the beauty of streamlined automation.

About

A lightweight auto-clicker for Python using pynput and multi-threading. Features hotkey toggling, real-time control, and smooth operation tailored for Sky: Children of the Light.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages