Quantcast
Channel: Active questions tagged windows-subsystem-for-linux - Ask Ubuntu
Viewing all articles
Browse latest Browse all 2815

Alternative for mouseclick function in Linux?

$
0
0

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?


Viewing all articles
Browse latest Browse all 2815

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>