Skip to content

Commit 6e9eaae

Browse files
committed
fix: bad array
1 parent 9f704df commit 6e9eaae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/simba/target.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ lazy_static! {
2828
pub static ref TARGET: Mutex<SimbaTarget> = Mutex::new(SimbaTarget { pid: 0, hwnd: 0 });
2929
pub static ref MOUSE_POSITION: Mutex<POINT> = Mutex::new(POINT { x: -1, y: -1 });
3030
static ref KEYBOARD_STATE: Mutex<[bool; 255]> = Mutex::new([false; 255]);
31-
static ref MOUSE_STATE: Mutex<[bool; 2]> = Mutex::new([false; 2]);
31+
static ref MOUSE_STATE: Mutex<[bool; 3]> = Mutex::new([false; 3]);
3232
}
3333

3434
pub fn get_mouse_pos(hwnd: u64) -> POINT {

0 commit comments

Comments
 (0)