Skip to content

Instantly share code, notes, and snippets.

View iamnoksio's full-sized avatar
🦀
Crab

N. iamnoksio

🦀
Crab
View GitHub Profile
@iamnoksio
iamnoksio / main.rs
Created July 29, 2024 05:30
Banana.exe Steam Game - Auto Clicker
use rdev::{simulate, Button, EventType, SimulateError};
use std::{thread, time::Duration};
use winapi::um::winuser::{FindWindowA, GetForegroundWindow, GetWindowRect};
use winapi::shared::windef::RECT;
use std::ptr::null_mut;
use std::ffi::CString;
//use std::process::Command;
// TODO: make this an "app"
// TODO: REMOVE THE RIGHT TO WRITE IN THE CMD