We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9f704df commit 6e9eaaeCopy full SHA for 6e9eaae
src/simba/target.rs
@@ -28,7 +28,7 @@ lazy_static! {
28
pub static ref TARGET: Mutex<SimbaTarget> = Mutex::new(SimbaTarget { pid: 0, hwnd: 0 });
29
pub static ref MOUSE_POSITION: Mutex<POINT> = Mutex::new(POINT { x: -1, y: -1 });
30
static ref KEYBOARD_STATE: Mutex<[bool; 255]> = Mutex::new([false; 255]);
31
- static ref MOUSE_STATE: Mutex<[bool; 2]> = Mutex::new([false; 2]);
+ static ref MOUSE_STATE: Mutex<[bool; 3]> = Mutex::new([false; 3]);
32
}
33
34
pub fn get_mouse_pos(hwnd: u64) -> POINT {
0 commit comments