Just saying, I'm not mad or have murder intentions, the title is there to make my post stand out a little.
So, before I ask any questions, I'd like to ask one HUGE question: Is it okay to post about anything other than Snap! on the Related sciences part of the Forum? That would be great to know if I can because repl.it is blocked for me.
Second of all, I need help with the windows.h library. I want to connect up a Micro:bit, Arduino, or Linkbot (Let's just say Linkbot for now because I'm learning that in STEM Class) to my computer and use it as a mouse.
For the Linkbot, I'm using ch made by softintegration and UC-Davis, and I'm using the
#include<linkbot.h>
library so I can access all things Linkbot-wise.
For the cursor, I can just use the
#include<windows.h>
library with the
SetCursorPos(0, 0);
GetCursorPos(setx, sety);
command.
However, the thing I'm struggling with is just getting the Screen Size. And from the looks of it, some people have been posting HARD code online which is not only hard to understand (hence "HARD") but also redundant. There's got to be an easier way.