Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
kind of works? reading multiple mice: any c programmers want to look at this?
#78
(09-18-2022, 07:37 PM)Spriggsy Wrote: @madscijr
It isn't a problem with the API. It's a problem with the fact that QB64 makes its own window that isn't setup to accept callbacks. Just assume most issues you will face is due to how QB64 was mostly designed to use internal functions and not external. External stuff is basically a side effect of the C backbone. What would be great is if right now you focus more on making a C version that does everything you want and then come back to change it over to QB64.

Well that's my question - whether I do it in C or do it inside QB64 set up with those events, I still need to draw graphics to the program window. Since currently we can't get QB64 and the raw input code seeing the same window, we must draw the graphics in whatever way that can access it. Currently the demo code uses DrawText, what is the API function to draw a color rectangle, so we can draw a few colored rectangles and let the mice move them around?
Reply


Messages In This Thread
RE: kind of works? reading multiple mice: any c programmers want to look at this? - by madscijr - 09-18-2022, 08:14 PM



Users browsing this thread: 29 Guest(s)