Keyboard stimulator

Summary

Doc_BoxAlgorithm_KeyboardStimulator.png
  • Plugin name : Keyboard stimulator
  • Version : 0.1
  • Author : Bruno Renier
  • Company : INRIA/IRISA
  • Short description : Stimulation generator
  • Documentation template generation date : Nov 2 2017

Description

Sends stimulations according to key presses

This plugin grabs key presses and translates them into OpenViBE stimulations

Outputs

1. Outgoing Stimulations

A stream of stimulations generated by key presses

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

Settings

1. Filename

The name of the file containing the associations between keys and stimulations

  • Type identifier : Filename (0x330306dd, 0x74a95f98)
  • Default value : [ ${Path_Data}/plugins/stimulation/simple-keyboard-to-stimulations.txt ]

Examples

Here is one example of configuration file :

Left 0x00000301
Right 0x00000302
Up 0x0000030C
Down 0x00000306
a 0x00000300
r 0x00000312
t 0x00000311
y 0x0000030D
BackSpace 0x00000004
Return 0x00000320

Miscellaneous

The configuration file should contain a list where each element is formatted like this :

Name_of_the_key Stimulation_numeric_identifier

For a complete listing of the key names, please consult GDK's "gdk/gdkkeysyms.h" header file. The names are the same but without the leading "GDK_"