From 67750ff7a5b5bc6909c178e1061c484769a972d6 Mon Sep 17 00:00:00 2001 From: "PSp..om" Date: Tue, 25 Sep 2012 04:41:34 +0000 Subject: [PATCH] Added a dump of the buttons. git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9773 75d07b2b-3a1a-0410-a2c5-0572b91ccdca --- engine/src/test/jme3test/input/TestJoystick.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/engine/src/test/jme3test/input/TestJoystick.java b/engine/src/test/jme3test/input/TestJoystick.java index a05b1ecbd..8d1fb3100 100644 --- a/engine/src/test/jme3test/input/TestJoystick.java +++ b/engine/src/test/jme3test/input/TestJoystick.java @@ -77,7 +77,11 @@ public class TestJoystick extends SimpleApplication { for( Joystick j : joysticks ) { out.println( "Joystick[" + j.getJoyId() + "]:" + j.getName() ); out.println( " buttons:" + j.getButtonCount() ); + for( JoystickButton b : j.getButtons() ) { + out.println( " " + b ); + } + out.println( " axes:" + j.getAxisCount() ); for( JoystickAxis axis : j.getAxes() ) { out.println( " " + axis ); }