changed mouse button
This commit is contained in:
parent
2c51afc3a3
commit
2905f18891
@ -11,7 +11,7 @@ int main(){
|
|||||||
}
|
}
|
||||||
Window* window = new Window(800, 600, "Test Window");
|
Window* window = new Window(800, 600, "Test Window");
|
||||||
while(!window->closing()){
|
while(!window->closing()){
|
||||||
if(window->mouseDown(0)){
|
if(window->mouseDown(1)){
|
||||||
std::cout << "mouse button down" << std::endl;
|
std::cout << "mouse button down" << std::endl;
|
||||||
}
|
}
|
||||||
window->updateWindow();
|
window->updateWindow();
|
||||||
|
Loading…
Reference in New Issue
Block a user