This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |