Package com.limelight.input.gamepad

Examples of com.limelight.input.gamepad.GamepadComponent


   */
  private ActionListener createCheckboxListener() {
    return new ActionListener() {
      public void actionPerformed(ActionEvent e) {
        JCheckBox clicked = (JCheckBox)e.getSource();
        GamepadComponent padComp = GamepadComponent.valueOf(clicked.getName());
        Mapping currentMapping = config.get(padComp);
        if (currentMapping == null) {
          //this makes more semantic sense to me than using !=
          clicked.setSelected(!(clicked.isSelected()));
        } else {
View Full Code Here

TOP

Related Classes of com.limelight.input.gamepad.GamepadComponent

Copyright © 2018 www.massapicom. 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.