Keypress Emulator


  • Plugin name : Keypress Emulator
  • Version : 0.1
  • Author : Jussi T. Lindgren
  • Company : Inria
  • Short description : Emulates pressing keyboard keys when receiving stimulations
  • Documentation template generation date : Dec 3 2018


Emulates a keyboard keypress when receiving a specific stimulation. In principle this box could be used to drive some 3rd party application that allows keyboard control but not any other communication from OpenViBE. Currently this box is implemented only on Windows.


1. Stimulations

Stimulation stream to listen to.

  • Type identifier : Stimulations (0x6f752dd0, 0x082a321e)


1. Trigger

The stimulation that will trigger the keypress.

  • Type identifier : Stimulation (0x2c132d6e, 0x44ab0d97)
  • Default value : [ OVTK_StimulationId_Label_00 ]

2. Key to press

The key to press.

  • Type identifier : Key (0x23e525f9, 0x005f187d)
  • Default value : [ A ]

3. Key modifier

The key modifier (alt, ctrl, ...)

  • Type identifier : Key modifier (0x0c4f4585, 0x78b246ac)
  • Default value : [ None ]


An easy way to test the box is to make it receive stimulations from a Clock Stimulator box, and make a text editor active on the desktop after clicking Play. The characters corresponding to the key should appear in the editor.


The Keypress Emulator should be enhanced to be able to map an arbitrary number of different stimulations. This development would be relatively straightforward (e.g. look at VRPN boxes for example). Meanwhile if you need several keys pressed, you can use several Keypress Emulator boxes, each configured for a different stimulation+key.