Jump to content

Mouse coordinates


MasteR
 Share

Recommended Posts

SDL uses windows.h,

 

Not to worry it's been a long week of research into all things platform independent, I've managed to grasp the concepts.

 

Cheers though

AMD Athlon 64 X2 Dual Core 6000+ (3.0 GHz)

4 GB DDR2 RAM

2 x NVIDIA GeForce 9500 GT 512 MB (SLI 1.0 GB)

Windows XP Pro

Link to comment
Share on other sites

SDL uses the correct header for the platform your application is compiled on. On Windows, that is windows.h. Leadwerks probably also uses windows.h but only Josh or Lumooja can say.

 

I don't know if there is any other way. Perhaps by interfacing with a USB port and reading the raw data but who would want to go through that trouble?

Link to comment
Share on other sites

SDL uses the correct header for the platform your application is compiled on. On Windows, that is windows.h. Leadwerks probably also uses windows.h but only Josh or Lumooja can say.

 

I don't know if there is any other way. Perhaps by interfacing with a USB port and reading the raw data but who would want to go through that trouble?

 

Leadwerks does use windows.h,

 

But you are quite right, as I mentioned it has been a long week of in depth reading and research, and as you pointed out a program will use the correct header for the platform it is compiled on, in the case of windows it is windows.h.

AMD Athlon 64 X2 Dual Core 6000+ (3.0 GHz)

4 GB DDR2 RAM

2 x NVIDIA GeForce 9500 GT 512 MB (SLI 1.0 GB)

Windows XP Pro

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...