|
From: Brian M. <ma...@us...> - 2003-01-23 21:38:10
|
Update of /cvsroot/java-game-lib/LWJGL/src/java/org/lwjgl/test/input In directory sc8-pr-cvs1:/tmp/cvs-serv31491 Modified Files: ControllerTest.java Log Message: added rotational axis too Index: ControllerTest.java CVS Browser: http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/java-game-lib/LWJGL/src/java/org/lwjgl/test/input/ControllerTest.java =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/java/org/lwjgl/test/input/ControllerTest.java,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- ControllerTest.java 23 Jan 2003 21:11:16 -0000 1.2 +++ ControllerTest.java 23 Jan 2003 21:38:06 -0000 1.3 @@ -95,18 +95,33 @@ if(Controller.hasXAxis) { g.drawString("x : " + Controller.x, x, y); y += 20; - } + } + + if(Controller.hasRXAxis) { + g.drawString("rx : " + Controller.rx, x, y); + y += 20; + } if(Controller.hasYAxis) { g.drawString("y : " + Controller.y, x, y); y += 20; } + if(Controller.hasRYAxis) { + g.drawString("ry : " + Controller.ry, x, y); + y += 20; + } + if (Controller.hasZAxis) { g.drawString("z : " + Controller.z, x, y); y += 20; } + if (Controller.hasRZAxis) { + g.drawString("rz : " + Controller.rz, x, y); + y += 20; + } + if (Controller.hasPOV) { g.drawString("pov: " + Controller.pov, x, y); y += 20; |