[tuxdroid-svn] r1094 - software_suite_v2/middleware/tuxdriver/trunk/src
Status: Beta
Brought to you by:
ks156
From: eFfeM <c2m...@c2...> - 2008-05-03 10:03:32
|
Author: eFfeM Date: 2008-05-03 12:03:36 +0200 (Sat, 03 May 2008) New Revision: 1094 Modified: software_suite_v2/middleware/tuxdriver/trunk/src/tux_hid_unix.c Log: ran through dos2unix to make line termination unix compliant Modified: software_suite_v2/middleware/tuxdriver/trunk/src/tux_hid_unix.c =================================================================== --- software_suite_v2/middleware/tuxdriver/trunk/src/tux_hid_unix.c 2008-05-03 10:02:16 UTC (rev 1093) +++ software_suite_v2/middleware/tuxdriver/trunk/src/tux_hid_unix.c 2008-05-03 10:03:36 UTC (rev 1094) @@ -1,23 +1,23 @@ -/* - * 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. - */ - +/* + * 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 #include <stdlib.h> @@ -87,8 +87,8 @@ return false; } -bool LIBLOCAL -tux_hid_capture(int vendor_id, int product_id) +bool LIBLOCAL +tux_hid_capture(int vendor_id, int product_id) { /* Normal path to scan is /dev/usb */ if (find_dongle_from_path("/dev/usb", vendor_id, product_id)) @@ -116,8 +116,8 @@ } } -bool LIBLOCAL -tux_hid_write(int size, char *buffer) +bool LIBLOCAL +tux_hid_write(int size, char *buffer) { int i; int err; @@ -154,8 +154,8 @@ return true; } -bool LIBLOCAL -tux_hid_read(int size, char *buffer) +bool LIBLOCAL +tux_hid_read(int size, char *buffer) { int i; int err; @@ -194,4 +194,3 @@ } #endif /* Not WIN32 */ - |