GithubHelp home page GithubHelp logo

mircea007 / clickr Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 95 KB

C++ autoclicker for both linux and windows

Makefile 4.97% C++ 82.12% C 12.91%
linux x11 xorg cpp clickspersecond autoclicker c multithreading windows pthread

clickr's Introduction

Clickr

Clickr logo

Linux GitHub version GitHub stars GitHub watchers

A linux x11 (for now) autoclicker.

Comming soon: eficient cps test

Features

  • Toggle key is Caps Lock (because who really uses it?). Caps Lock is also closer to WASD keys so it's easy to reach
  • Anti-bot detection (by randomizing intervals between clicks, in the future i will add buterfly/dracgclick mode for even better stealth)
  • Very small overhead
  • Works for both right and left click

How to run

Compile:

make

Usage:

sudo bin/clickr [options] [--help] [--cps CPS]

options:

  • -h, --help: print help page & exit
  • -w: show warnings
  • -i: show info mesages
  • -d: show debug mesages

How it works

there are 5 threads running:

  • main thread (initializes stuff, then waits to be interupted by SIGINT (Ctrl+C), and then cleans up)
  • autoclicker for the left click (implemented by AsyncAutoClicker)
  • autoclicker for the right click (implemented by AsyncAutoClicker)
  • listens for real mouse clicks (needs access to /dev/input/mice) (worker thread in MimicMouseButFaster)
  • listens for CapsLock to toggle autoclicking (listen thread in MimicMouseButFaster)

TO DO

  • add event loop in windows version
  • add user configuration
  • get rid of sudo requirement in linux version (would also merge listen and worker threads in MimicMouseButFaster)
  • user friendly (maybe system tray icon or gui application)

clickr's People

Contributors

mircea007 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.