]> git.mxchange.org Git - flightgear.git/blobdiff - src/Input/jssuper.cxx
TACAN improvements.
[flightgear.git] / src / Input / jssuper.cxx
index 4e1bf8059753d7c1808e156d8cd2fbe39922b999..661364243545eb154928031c9be9e94b910efc31 100644 (file)
 //
 // 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., 675 Mass Ave, Cambridge, MA 02139, USA.
+// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 
 
-#include <string.h>            // plib/js.h should really include this !!!!!!
-#include <plib/js.h>
-
-#include <jssuper.h>
+#include "jssuper.h"
 
 
 jsSuper::jsSuper(void) {
@@ -51,7 +48,7 @@ jsSuper::jsSuper(void) {
 
 
 int jsSuper::nextJoystick(void) { 
-  int i;
+  // int i;
   if(!activeJoysticks) return 0;
   if(currentJoystick == last ) return 0; 
   currentJoystick++;
@@ -60,7 +57,7 @@ int jsSuper::nextJoystick(void) {
 }    
         
 int jsSuper::prevJoystick(void) { 
-  int i;
+  // int i;
   if(!activeJoysticks) return 0; 
   if(currentJoystick == first ) return 0; 
   currentJoystick--;