Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Simple clicker that works on GNU/Linux. You can pick delay and mouse button(right or left). Tested on wayland, x11 should work too. Requires a 'ydotool' package. The trigger key is CAPSLOCK(can be changed)

Notifications You must be signed in to change notification settings

daffukk/cli-clicker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 

Repository files navigation

GNU/Linux cli-clicker

The simpliest clicker ever(almost)

Setup

You need to install one pkg.

For arch based:

sudo pacman -S ydotool

For debian based:

sudo apt install ydotool

Next you need to pick your keyboard event.

  • To set a keyboard, you need to find its event in /dev/input/event*, google how to do this. And then you need to change 15 and 17 lines in main.cpp. Example: you got /dev/input/event5, 15. system("sudo chmod a+r /dev/input/event5");, 17.const char* device = "/dev/input/event5";.

To buld it you need to run g++ -o main main.cpp

Run

Run ./main in the project directory.

  • Enter the delay

  • Enter 1 or 2(1 is left mouse click, 2 is right mouse click).

Hold CAPSLOCK to start.

About

Simple clicker that works on GNU/Linux. You can pick delay and mouse button(right or left). Tested on wayland, x11 should work too. Requires a 'ydotool' package. The trigger key is CAPSLOCK(can be changed)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages