From 2905f1889137e20f6a3b286c363c4cf636336b8e Mon Sep 17 00:00:00 2001 From: Samuel Walker Date: Tue, 23 Apr 2024 16:04:35 -0600 Subject: [PATCH] changed mouse button --- src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.cpp b/src/main.cpp index 17fb33c..18054ee 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -11,7 +11,7 @@ int main(){ } Window* window = new Window(800, 600, "Test Window"); while(!window->closing()){ - if(window->mouseDown(0)){ + if(window->mouseDown(1)){ std::cout << "mouse button down" << std::endl; } window->updateWindow();