Class JInputControllerWrapper

java.lang.Object
com.ardor3d.input.jinput.JInputControllerWrapper
All Implemented Interfaces:
ControllerWrapper

public class JInputControllerWrapper extends Object implements ControllerWrapper
  • Field Details

  • Constructor Details

    • JInputControllerWrapper

      public JInputControllerWrapper()
  • Method Details

    • getEvents

      public PeekingIterator<ControllerEvent> getEvents()
      Description copied from interface: ControllerWrapper
      Returns a peeking iterator that allows the client to loop through all controller events that have not yet been handled.
      Specified by:
      getEvents in interface ControllerWrapper
      Returns:
      an iterator that allows the client to check which events have still not been handled
    • getControllerCount

      public int getControllerCount()
      Specified by:
      getControllerCount in interface ControllerWrapper
    • getControllerInfo

      public ControllerInfo getControllerInfo(int controllerIndex)
      Specified by:
      getControllerInfo in interface ControllerWrapper
    • init

      public void init()
      Description copied from interface: ControllerWrapper
      Allows the controller wrapper implementation to initialize itself.
      Specified by:
      init in interface ControllerWrapper
    • getControllerInfo

      protected ControllerInfo getControllerInfo(net.java.games.input.Controller controller)
    • createControllerEvent

      protected ControllerEvent createControllerEvent(net.java.games.input.Controller controller, net.java.games.input.Event event)