Skip to content

GNU/Linux wayland triggerbot that works in any game. You can set your delay and trigger btn if you want

Notifications You must be signed in to change notification settings

daffukk/LinuxTriggerBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GNU/Linux Wayland TriggerBot

The TriggerBot that works in any game by detecting a new pixel in the center of screen.

Tested on:

  • Arch linux

TODO

  • Create config file to minimize interaction with code
  • Create auto keyboard event pick
  • Fully fix image noise and false shots

Setup

You must install some packages.

There maybe will be some issues with opencv, if you have those, check Tips and issues section.

opencv
ydotool
grim

Note

To set a triggerKey you can change trig.setKey(58) at 133 line of code. (It's a key code, by default set to CAPSLOCK)


Run

Run ./build.sh to compile application.

Run ./LinuxTriggerBot in the project directory:

  • Enter your screen resolution
  • Enter delay(70 is recommended)
  • Enter your keyboard device event

Important

Check Tips and issues for keyboard event information

Ingame you need to hold capslock and do not move camera.


Tips and issues

Keyboard event

  1. Showing all keyboard devices:
ls /dev/input/by-id/ | grep kbd
  1. Pick your keyboard from received list:
usb-MY_KEYBOARD-event-kbd -> ../event2
usb-ANOTHER_KEYBOARD-event-kbd -> ../event17
usb-SOME_KEYBOARD-if01-event-kbd -> ../event20
usb-MY_MICE_KEYBOARD_IDK_WHAT_ITS_DOING_HERE-if01-event-kbd -> ../event11
  1. Copy your keyboard event path and paste it into application or to config instead:
/dev/input/event2

About

GNU/Linux wayland triggerbot that works in any game. You can set your delay and trigger btn if you want

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published