Crates.io | bhs |
lib.rs | bhs |
version | 0.1.1 |
source | src |
created_at | 2024-06-12 20:24:22.697471 |
updated_at | 2024-06-12 20:25:20.741314 |
description | BHOP script for any game |
homepage | |
repository | https://github.com/Antosser/bhop-script |
max_upload_size | |
id | 1269969 |
size | 18,881 |
Bunny-hop script that presses the ;
at an arbitrary speed while the space
key is held.
To use this program, you will need to have Rust installed on your system. Once you have Rust installed, you can install the program by running the following command in your terminal:
cargo install bhs
This program uses the inputbot
dependency, so make sure to install it's dependencies before installing.
When you run the program, it will prompt you to enter two values: the interval between checks (in milliseconds) and the hold period (also in milliseconds). Once you have entered these values, the program will start monitoring the keyboard input for a space key and simulate the pressing of the semicolon key when it is pressed.
Here are some usage examples:
$ bhs
Enter interval between checks (ms): 15
Enter hold time (ms): 5
In this example, the program will check for a space key every 15 milliseconds and simulate the pressing of the semicolon key if it is pressed. The hold period is set to 5 milliseconds, so the program will simulate the pressing of the semicolon key and then release it after one second has passed.