Skip to content

h3nc4/sxac

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SXAC - Simple X Auto Clicker
----------------------------

SXAC is a simple X Auto Clicker. It is written in C and uses the XTest extension to simulate mouse clicks.


Requirements
------------

libx11 and libxtst libraries are required to build sxac.


Installation
------------

$ make
# make install

or

$ wget https://github.com/h3nc4/sxac/releases/latest/download/sxac
# install -Dm755 sxac /usr/local/bin/sxac


Usage
-----

Run the program with default settings:

$ sxac

This will start the auto clicker with the following default settings:

- Click interval: 100 ms
- Click button: 1 (left mouse button)


To specify a different button, use the -b option followed by the button number:

$ sxac -b 2

The button options are:

1: Left mouse button
2: Middle mouse button
3: Right mouse button


To specify a different click interval, use the -d option followed by the interval in miliseconds:

$ sxac -d 200


To display usage information:

$ sxac -h


Stop the auto clicker by pressing Ctrl+C or sending a termination signal:

$ pkill sxac


License
-------

sxac is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License or (at your option) any later version.

sxac is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

See LICENSE for more information.