2
* GPAC - Multimedia Framework C SDK
4
* Copyright (c) Jean Le Feuvre 2000-2005
7
* This file is part of GPAC / Media terminal sub-project
9
* GPAC is free software; you can redistribute it and/or modify
10
* it under the terms of the GNU Lesser General Public License as published by
11
* the Free Software Foundation; either version 2, or (at your option)
14
* GPAC is distributed in the hope that it will be useful,
15
* but WITHOUT ANY WARRANTY; without even the implied warranty of
16
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17
* GNU Lesser General Public License for more details.
19
* You should have received a copy of the GNU Lesser General Public
20
* License along with this library; see the file COPYING. If not, write to
21
* the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
25
#ifndef _INPUT_SENSOR_H_
26
#define _INPUT_SENSOR_H_
28
#include <gpac/internal/terminal_dev.h>
30
#include <gpac/nodes_mpeg4.h>
32
#ifndef GPAC_DISABLE_VRML
42
#define GPAC_HTK_DEMO 0
49
/*list of attached nodes*/
53
/*uncompressed data frame*/
56
GF_InputSensorDevice *io_dev;
60
/*string sensor sep char */
61
s16 termChar, delChar;
62
/*current typed text in UTF-8*/
63
unsigned short enteredText[5000];
70
char szHTKPath[GF_MAX_PATH];
76
GF_BaseDecoder *gf_isdec_new(GF_ESD *esd, u32 PL);
77
void gf_isdec_del(GF_BaseDecoder *plug);
78
GF_Err gf_isdec_configure(GF_BaseDecoder *plug, GF_Scene *scene, Bool is_remote);
91
void InitInputSensor(GF_Scene *scene, GF_Node *node);
92
void InputSensorModified(GF_Node *n);
94
void InitKeySensor(GF_Scene *scene, GF_Node *node);
99
u16 enteredText[5000];
104
void InitStringSensor(GF_Scene *scene, GF_Node *node);
106
#endif /*GPAC_DISABLE_VRML*/
109
#endif /*_INPUT_SENSOR_H_*/