OSDN Git Service

introduced event mode for mouse and key input, added JoystickInput (thus added jinput...
[mikumikustudio/MikuMikuStudio.git] / src / jmetest / intersection / TestOBBPick.java
index 1ab9cb4..0c1d701 100755 (executable)
@@ -118,7 +118,7 @@ public class TestOBBPick extends SimpleGame {
                am.setRenderState(as);
 
                // Get the mouse input device and assign it to the AbsoluteMouse
-               am.setMouseInput(InputSystem.getMouseInput());
+               am.setMouseInput(MouseInput.get());
                // Move the mouse to the middle of the screen to start with
                am.setLocalTranslation(new Vector3f(display.getWidth() / 2, display
                                .getHeight() / 2, 0));