MinieExamples/src/main/java/jme3utilities/minie/test/TestSoftBody.java
/**
     * Add application-specific hotkey bindings and override existing ones.
     */
Add application-specific hotkey bindings and override existing ones.
Add application - specific hotkey bindings and override existing ones .
@Override
    public void moreDefaultBindings() {
        InputMode dim = getDefaultInputMode();
        dim.bind(AbstractDemo.asDumpSpace, KeyInput.KEY_O);
        dim.bind(AbstractDemo.asDumpViewport, KeyInput.KEY_P);
        dim.bind(AbstractDemo.asCollectGarbage, KeyInput.KEY_G);
        dim.bind("go limp", KeyInput.KEY_SPACE);
        dim.bind("next", KeyInput.KEY_N);
        dim.bindSignal(CameraInput.FLYCAM_LOWER, KeyInput.KEY_DOWN);
        dim.bindSignal(CameraInput.FLYCAM_RISE, KeyInput.KEY_UP);
        dim.bindSignal("orbitLeft", KeyInput.KEY_LEFT);
        dim.bindSignal("orbitRight", KeyInput.KEY_RIGHT);
        dim.bind("test poleAndFlag", KeyInput.KEY_F3);
        dim.bind("test puppetInSkirt", KeyInput.KEY_F4);
        dim.bind("test squishyBall", KeyInput.KEY_F1);
        dim.bind("test tablecloth", KeyInput.KEY_F2);
        dim.bind(AbstractDemo.asToggleAabbs, KeyInput.KEY_APOSTROPHE);
        dim.bind(AbstractDemo.asToggleHelp, KeyInput.KEY_H);
        dim.bind(AbstractDemo.asTogglePause, KeyInput.KEY_PAUSE,
                KeyInput.KEY_PERIOD);
        dim.bind(AbstractDemo.asTogglePcoAxes, KeyInput.KEY_SEMICOLON);
        addHelp();
    }
@ Override public void moreDefaultBindings ( ) { InputMode dim = getDefaultInputMode ( ) ; dim . bind ( AbstractDemo . asDumpSpace , KeyInput . KEY_O ) ; dim . bind ( AbstractDemo . asDumpViewport , KeyInput . KEY_P ) ; dim . bind ( AbstractDemo . asCollectGarbage , KeyInput . KEY_G ) ; dim . bind ( "go limp" , KeyInput . KEY_SPACE ) ; dim . bind ( "next" , KeyInput . KEY_N ) ; dim . bindSignal ( CameraInput . FLYCAM_LOWER , KeyInput . KEY_DOWN ) ; dim . bindSignal ( CameraInput . FLYCAM_RISE , KeyInput . KEY_UP ) ; dim . bindSignal ( "orbitLeft" , KeyInput . KEY_LEFT ) ; dim . bindSignal ( "orbitRight" , KeyInput . KEY_RIGHT ) ; dim . bind ( "test poleAndFlag" , KeyInput . KEY_F3 ) ; dim . bind ( "test puppetInSkirt" , KeyInput . KEY_F4 ) ; dim . bind ( "test squishyBall" , KeyInput . KEY_F1 ) ; dim . bind ( "test tablecloth" , KeyInput . KEY_F2 ) ; dim . bind ( AbstractDemo . asToggleAabbs , KeyInput . KEY_APOSTROPHE ) ; dim . bind ( AbstractDemo . asToggleHelp , KeyInput . KEY_H ) ; dim . bind ( AbstractDemo . asTogglePause , KeyInput . KEY_PAUSE , KeyInput . KEY_PERIOD ) ; dim . bind ( AbstractDemo . asTogglePcoAxes , KeyInput . KEY_SEMICOLON ) ; addHelp ( ) ; }
Add application-specific hotkey bindings and override existing ones.
Add application - specific hotkey bindings and override existing ones .