Keystronkes with VRPN

Come here to discuss about OpenViBE in general!
Post Reply
2drafael
Posts: 1
Joined: Fri Aug 30, 2013 8:52 pm

Keystronkes with VRPN

Post by 2drafael »

Hello,

I'm new to OpenVibe and VRPN, so I'd aprecciate some help. First off, the processing and classification parts of the project are ok: I have no problems there (yet).

Here's what I want to do:
- I want to control a third-party application with BCI. This third-party application can be controlled with keystrokes, so it's fairly simple.
- When the subject reaches a certain concentration state, a key is "pressed" in the keyboard, thus controlling the third-party application.

How would I do that? Should I setup a VRPN button box (or analog?), create a client using C/C++ and within this client create a function to send the keystroke to the desired window when it receives information from the VRPN server? Any suggestions/guidance?

Thanks,
Rafael.

toncho11
Posts: 124
Joined: Tue Apr 19, 2011 7:58 pm

Re: Keystronkes with VRPN

Post by toncho11 »

Try:

http://openvibe.inria.fr/send-stimulati ... on-server/ to send data to OV.

For the other direction (from OpenVibe to your application) you can set VRPN server analog box in you scenario and then in your application you have to implement VRPN C++ analog client:

http://www.vrgeeks.org/vrpn/tutorial--- ... le-client-

Cheers,
Anton

Post Reply