[tuxdroid-svn] r1038 - software_suite_v2/middleware/tuxdriver/branches/hid_transition/src
Status: Beta
Brought to you by:
ks156
From: remi <c2m...@c2...> - 2008-04-30 13:40:07
|
Author: remi Date: 2008-04-30 12:00:18 +0200 (Wed, 30 Apr 2008) New Revision: 1038 Added: software_suite_v2/middleware/tuxdriver/branches/hid_transition/src/tux_hid_unix.h Log: oups missing file Added: software_suite_v2/middleware/tuxdriver/branches/hid_transition/src/tux_hid_unix.h =================================================================== --- software_suite_v2/middleware/tuxdriver/branches/hid_transition/src/tux_hid_unix.h (rev 0) +++ software_suite_v2/middleware/tuxdriver/branches/hid_transition/src/tux_hid_unix.h 2008-04-30 10:00:18 UTC (rev 1038) @@ -0,0 +1,38 @@ +/* + * Tux Droid - Hid interface (only for unix) + * Copyright (C) 2008 C2ME Sa + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2, or (at your option) + * any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA + * 02111-1307, USA. + */ + +#ifndef WIN32 + +#ifndef _TUX_HID_H_ +#define _TUX_HID_H_ + +#include <stdbool.h> + +#define HID_RW_TIMEOUT 1000 + +extern bool tux_hid_capture(int vendor_id, int product_id); +extern void tux_hid_release(void); +extern bool tux_hid_write(int size, char *buffer); +extern bool tux_hid_read(int size, char *buffer); + +#endif /* _TUX_HID_H_ */ + +#endif /* Not WIN32 */ + |