5 messages in net.java.dev.jna.usersRe: [jna-users] Fwd: Getting cursor p...
FromSent OnAttachments
Maurice NaftalinJul 10, 2007 9:29 am 
Daniel KaufmannJul 10, 2007 10:21 am 
Timothy WallJul 10, 2007 10:33 am 
Timothy WallJul 10, 2007 11:10 am 
Maurice NaftalinJul 12, 2007 8:35 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: [jna-users] Fwd: Getting cursor position for Mac, Linux?Actions...
From:Timothy Wall (twal@dev.java.net)
Date:Jul 10, 2007 10:33:00 am
List:net.java.dev.jna.users

For linux, that'd be XQueryPointer in libX11.so. Mac may have a few different options, depending on which API you're writing to.

On Jul 10, 2007, at 12:29 PM, Maurice Naftalin wrote:

Apologies if this is not the right list for this query. JNA has been excellent for solving one particular problem I have in Win32 - getting the cursor position in screen coordinates. I just added a declaration of GetCursorPos to examples.win32.User32, and everything Just Worked - thanks very much! My question now is whether (and how) I can achieve the same effect for Mac and/or Linux in the same way, or whether some of the work in User32 needs doing again for these platforms.

Thanks in advance Maurice