Examples of DeviceOption


Examples of org.javatari.pc.controls.JoystickConsoleControls.DeviceOption

  }

  protected void joyP0P1DeviceAction() {
    if (refreshInProgress) return;
    if (joyP0Device.isEnabled()) {
      DeviceOption opt0 = (DeviceOption) joyP0Device.getSelectedItem();
      Parameters.JOY_P0_DEVICE = opt0 != null ? opt0.device : Parameters.JOY_DEVICE_AUTO;
    }
    if (joyP1Device.isEnabled()) {
      DeviceOption opt1 = (DeviceOption) joyP1Device.getSelectedItem();
      Parameters.JOY_P1_DEVICE = opt1 != null ? opt1.device : Parameters.JOY_DEVICE_AUTO;
    }
    room.joystickControls().start();
    refreshJoysticks();
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.