Skip to content

Commit

Permalink
longer key press time for slower pcs
Browse files Browse the repository at this point in the history
  • Loading branch information
zefanjajobse committed Dec 22, 2022
1 parent d5a653f commit b916cfe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/actions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ pub fn anti_afk(game_name: &str, mut run_once_no_game: bool) -> bool {

fn message_action(cfg: &structs::SeederConfig) {
unsafe {
send_keys::key_enter(0x24, 8); // J
sleep(Duration::from_secs(1));
send_keys::key_enter(0x24, 50); // J
sleep(Duration::from_secs(3));
let mut message: Vec<DXCode> = Vec::new();
for char in cfg.message.chars() {
match char_to_dxcodes(char) {
Expand Down

0 comments on commit b916cfe

Please sign in to comment.