From 0a984656f5fec68c90acc612b01f897918c0070b Mon Sep 17 00:00:00 2001 From: omnisci3nce Date: Fri, 19 Jul 2024 16:47:15 +1000 Subject: handle right btn as well --- src/core/camera.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/core/camera.c') diff --git a/src/core/camera.c b/src/core/camera.c index c0228ba..7f04207 100644 --- a/src/core/camera.c +++ b/src/core/camera.c @@ -47,7 +47,7 @@ void Camera_Update(Camera *camera) { } // Mouse - if (MouseBtn_Held()) { + if (MouseBtn_Held(MOUSEBTN_LEFT)) { mouse_state mouse = Input_GetMouseState(); // printf("Delta x: %d Delta y %d\n",mouse.x_delta, mouse.y_delta ); -- cgit v1.2.3-70-g09d2