[Plib-cvs] plib/src/js js.h,1.15,1.16
Brought to you by:
sjbaker
From: <ud...@us...> - 2002-04-17 22:29:56
|
Update of /cvsroot/plib/plib/src/js In directory usw-pr-cvs1:/tmp/cvs-serv2591/src/js Modified Files: js.h Log Message: David Megginson: Added jsJoystick::getName () Index: js.h =================================================================== RCS file: /cvsroot/plib/plib/src/js/js.h,v retrieving revision 1.15 retrieving revision 1.16 diff -u -d -r1.15 -r1.16 --- js.h 17 Apr 2002 21:34:42 -0000 1.15 +++ js.h 17 Apr 2002 22:29:51 -0000 1.16 @@ -1,25 +1,26 @@ /* PLIB - A Suite of Portable Game Libraries Copyright (C) 2001 Steve Baker - + This library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. - + [...261 lines suppressed...] + for (i = 0; i < num_axes; i++) { - + err = ISpElement_GetSimpleState (isp_elem[ i ], &state); ISP_CHECK_ERR (err); - + axes [i] = (float) state; } } @@ -700,7 +714,7 @@ # else int status = ::read ( fd, &js, JS_RETURN ) ; - + if ( status != JS_RETURN ) { perror ( fname ) ; |