Package com.limelight.input.gamepad.SourceComponent

Examples of com.limelight.input.gamepad.SourceComponent.Direction


    //printInfo(device, new SourceComponent(Type.BUTTON, buttonId), mapped.padComp, pressed ? 1F : 0F);
  }

  public void handleAxis(Device device, int axisId, float newValue, float lastValue) {
    GamepadMapping mapping = GamepadSettingsManager.getSettings();
    Direction mappedDir = null;
    if (newValue == 0) {
      if (lastValue > 0) {
        mappedDir = Direction.POSITIVE;
      } else {
        mappedDir = Direction.NEGATIVE;
View Full Code Here

TOP

Related Classes of com.limelight.input.gamepad.SourceComponent.Direction

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.