Commit 5d3cbb4c authored by Jussi Lindgren's avatar Jussi Lindgren

Toolkit: Added some low-order numeric stimuli

parent 16fce0ea
......@@ -128,6 +128,43 @@
#define OVTK_StimulationId_TrainCompleted 0x00008207
#define OVTK_StimulationId_Reset 0x00008208
// These are low-order stimulations that may be required for some legacy communication
// channels like parallel port handling only 1 byte codes. The name and number of these stimuli exactly matches.
#define OVTK_StimulationId_NumberStart 0x00000000
#define OVTK_StimulationId_Number_00 0x00000000
#define OVTK_StimulationId_Number_01 0x00000001
#define OVTK_StimulationId_Number_02 0x00000002
#define OVTK_StimulationId_Number_03 0x00000003
#define OVTK_StimulationId_Number_04 0x00000004
#define OVTK_StimulationId_Number_05 0x00000005
#define OVTK_StimulationId_Number_06 0x00000006
#define OVTK_StimulationId_Number_07 0x00000007
#define OVTK_StimulationId_Number_08 0x00000008
#define OVTK_StimulationId_Number_09 0x00000009
#define OVTK_StimulationId_Number_0A 0x0000000a
#define OVTK_StimulationId_Number_0B 0x0000000b
#define OVTK_StimulationId_Number_0C 0x0000000c
#define OVTK_StimulationId_Number_0D 0x0000000d
#define OVTK_StimulationId_Number_0E 0x0000000e
#define OVTK_StimulationId_Number_0F 0x0000000f
#define OVTK_StimulationId_Number_10 0x00000010
#define OVTK_StimulationId_Number_11 0x00000011
#define OVTK_StimulationId_Number_12 0x00000012
#define OVTK_StimulationId_Number_13 0x00000013
#define OVTK_StimulationId_Number_14 0x00000014
#define OVTK_StimulationId_Number_15 0x00000015
#define OVTK_StimulationId_Number_16 0x00000016
#define OVTK_StimulationId_Number_17 0x00000017
#define OVTK_StimulationId_Number_18 0x00000018
#define OVTK_StimulationId_Number_19 0x00000019
#define OVTK_StimulationId_Number_1A 0x0000001a
#define OVTK_StimulationId_Number_1B 0x0000001b
#define OVTK_StimulationId_Number_1C 0x0000001c
#define OVTK_StimulationId_Number_1D 0x0000001d
#define OVTK_StimulationId_Number_1E 0x0000001e
#define OVTK_StimulationId_Number_1F 0x0000001f
#define OVTK_StimulationId_NumberEnd 0x000000ff
//___________________________________________________________________//
// //
// GDF file format stimulation identifiers //
......
......@@ -72,6 +72,39 @@ boolean OpenViBEToolkit::initialize(const IKernelContext& rKernelContext)
l_rTypeManager.registerEnumerationEntry(OV_TypeId_Stimulation, "OVTK_StimulationId_Label_1E", OVTK_StimulationId_Label_1E);
l_rTypeManager.registerEnumerationEntry(OV_TypeId_Stimulation, "OVTK_StimulationId_Label_1F", OVTK_StimulationId_Label_1F);
l_rTypeManager.registerEnumerationEntry(OV_TypeId_Stimulation, "OVTK_StimulationId_Number_00", OVTK_StimulationId_Number_00);
l_rTypeManager.registerEnumerationEntry(OV_TypeId_Stimulation, "OVTK_StimulationId_Number_01", OVTK_StimulationId_Number_01);
l_rTypeManager.registerEnumerationEntry(OV_TypeId_Stimulation, "OVTK_StimulationId_Number_02", OVTK_StimulationId_Number_02);
l_rTypeManager.registerEnumerationEntry(OV_TypeId_Stimulation, "OVTK_StimulationId_Number_03", OVTK_StimulationId_Number_03);
l_rTypeManager.registerEnumerationEntry(OV_TypeId_Stimulation, "OVTK_StimulationId_Number_04", OVTK_StimulationId_Number_04);
l_rTypeManager.registerEnumerationEntry(OV_TypeId_Stimulation, "OVTK_StimulationId_Number_05", OVTK_StimulationId_Number_05);
l_rTypeManager.registerEnumerationEntry(OV_TypeId_Stimulation, "OVTK_StimulationId_Number_06", OVTK_StimulationId_Number_06);
l_rTypeManager.registerEnumerationEntry(OV_TypeId_Stimulation, "OVTK_StimulationId_Number_07", OVTK_StimulationId_Number_07);
l_rTypeManager.registerEnumerationEntry(OV_TypeId_Stimulation, "OVTK_StimulationId_Number_08", OVTK_StimulationId_Number_08);
l_rTypeManager.registerEnumerationEntry(OV_TypeId_Stimulation, "OVTK_StimulationId_Number_09", OVTK_StimulationId_Number_09);
l_rTypeManager.registerEnumerationEntry(OV_TypeId_Stimulation, "OVTK_StimulationId_Number_0A", OVTK_StimulationId_Number_0A);
l_rTypeManager.registerEnumerationEntry(OV_TypeId_Stimulation, "OVTK_StimulationId_Number_0B", OVTK_StimulationId_Number_0B);
l_rTypeManager.registerEnumerationEntry(OV_TypeId_Stimulation, "OVTK_StimulationId_Number_0C", OVTK_StimulationId_Number_0C);
l_rTypeManager.registerEnumerationEntry(OV_TypeId_Stimulation, "OVTK_StimulationId_Number_0D", OVTK_StimulationId_Number_0D);
l_rTypeManager.registerEnumerationEntry(OV_TypeId_Stimulation, "OVTK_StimulationId_Number_0E", OVTK_StimulationId_Number_0E);
l_rTypeManager.registerEnumerationEntry(OV_TypeId_Stimulation, "OVTK_StimulationId_Number_0F", OVTK_StimulationId_Number_0F);
l_rTypeManager.registerEnumerationEntry(OV_TypeId_Stimulation, "OVTK_StimulationId_Number_10", OVTK_StimulationId_Number_10);
l_rTypeManager.registerEnumerationEntry(OV_TypeId_Stimulation, "OVTK_StimulationId_Number_11", OVTK_StimulationId_Number_11);
l_rTypeManager.registerEnumerationEntry(OV_TypeId_Stimulation, "OVTK_StimulationId_Number_12", OVTK_StimulationId_Number_12);
l_rTypeManager.registerEnumerationEntry(OV_TypeId_Stimulation, "OVTK_StimulationId_Number_13", OVTK_StimulationId_Number_13);
l_rTypeManager.registerEnumerationEntry(OV_TypeId_Stimulation, "OVTK_StimulationId_Number_14", OVTK_StimulationId_Number_14);
l_rTypeManager.registerEnumerationEntry(OV_TypeId_Stimulation, "OVTK_StimulationId_Number_15", OVTK_StimulationId_Number_15);
l_rTypeManager.registerEnumerationEntry(OV_TypeId_Stimulation, "OVTK_StimulationId_Number_16", OVTK_StimulationId_Number_16);
l_rTypeManager.registerEnumerationEntry(OV_TypeId_Stimulation, "OVTK_StimulationId_Number_17", OVTK_StimulationId_Number_17);
l_rTypeManager.registerEnumerationEntry(OV_TypeId_Stimulation, "OVTK_StimulationId_Number_18", OVTK_StimulationId_Number_18);
l_rTypeManager.registerEnumerationEntry(OV_TypeId_Stimulation, "OVTK_StimulationId_Number_19", OVTK_StimulationId_Number_19);
l_rTypeManager.registerEnumerationEntry(OV_TypeId_Stimulation, "OVTK_StimulationId_Number_1A", OVTK_StimulationId_Number_1A);
l_rTypeManager.registerEnumerationEntry(OV_TypeId_Stimulation, "OVTK_StimulationId_Number_1B", OVTK_StimulationId_Number_1B);
l_rTypeManager.registerEnumerationEntry(OV_TypeId_Stimulation, "OVTK_StimulationId_Number_1C", OVTK_StimulationId_Number_1C);
l_rTypeManager.registerEnumerationEntry(OV_TypeId_Stimulation, "OVTK_StimulationId_Number_1D", OVTK_StimulationId_Number_1D);
l_rTypeManager.registerEnumerationEntry(OV_TypeId_Stimulation, "OVTK_StimulationId_Number_1E", OVTK_StimulationId_Number_1E);
l_rTypeManager.registerEnumerationEntry(OV_TypeId_Stimulation, "OVTK_StimulationId_Number_1F", OVTK_StimulationId_Number_1F);
l_rTypeManager.registerEnumerationEntry(OV_TypeId_Stimulation, "OVTK_StimulationId_Train", OVTK_StimulationId_Train);
l_rTypeManager.registerEnumerationEntry(OV_TypeId_Stimulation, "OVTK_StimulationId_Beep", OVTK_StimulationId_Beep);
l_rTypeManager.registerEnumerationEntry(OV_TypeId_Stimulation, "OVTK_StimulationId_DoubleBeep", OVTK_StimulationId_DoubleBeep);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment