So i got some problem with my window and i decide move to linux. I'm working with some c++ code that required windows.h, so i decide to change some of my code, so it can run in linux.
one of my code is
if(ismouseclick(WM_LBUTTONDOWN)) { //do something clearmouseclick(WM_LBUTTONDOWN); }
Any idea how to change the ismouseclick function so it can be run without windows.h?or is there are other alternative to read mouse input in c++ in linux?