Package net.java.games.input.Controller

Examples of net.java.games.input.Controller.Type


        .getDefaultEnvironment().getControllers();
    // Keyboard Controller will be the fallback solution
    Controller keyboard = null;
    List<Controller> possibleControllers = new ArrayList<Controller>();
    for (Controller controller : controllersList) {
      Type type = controller.getType();
      if (type == Type.KEYBOARD) {
        keyboard = controller;
        continue;
      }
      if (type == Type.GAMEPAD || type == Type.STICK) {
View Full Code Here

TOP

Related Classes of net.java.games.input.Controller.Type

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.