Controlling the cursor?

Forum for discussion on different user applications
Locked
ageronimo
Posts: 29
Joined: 04 Dec 2012, 14:00

Controlling the cursor?

Post by ageronimo » 04 Dec 2012, 15:59

Hi,
I am trying to interface Dasher with BCI2000. Ideally I would use the Socket interface provided by both programs to relay X and Y cursor position from my mu-rhythm BCI paradigm to Dasher but there is a problem on the Dasher end with receiving the incoming UDP packets (which has been confirmed by the Dasher people).

Is there are way to control the cursor on windows XP with the CursorPosX/Y variables so I can get the input to Dasher that way? It seems to me this would require a knowledge of windows programming that is way above my pay grade, but I just thought I would ask.

Thanks in advance,
Andrew

mellinger
Posts: 1341
Joined: 12 Feb 2003, 11:06

Re: Controlling the cursor?

Post by mellinger » 12 Dec 2012, 14:14

Hi,

the Windows API provides a mouse_event() function that you may use in order to position the mouse cursor:
http://msdn.microsoft.com/en-us/library ... s.85).aspx

Regards,
Juergen

Locked

Who is online

Users browsing this forum: No registered users and 0 guests