org.jagatoo.input.devices
Interface ControllerFactory

All Known Implementing Classes:
AWTInputDeviceFactory, AWTJInputInputDeviceFactory, InputDeviceFactory, JInputInputDeviceFactory, LWJGLInputDeviceFactory, LWJGLJInputInputDeviceFactory, SWTInputDeviceFactory

public interface ControllerFactory

A ControllerFactory is a simple factory to access all Controllers available on the system.


Method Summary
 void destroy(InputSystem inputSystem)
          This method is called by the InputSystem when it gets destroyed.
 Controller[] getControllers()
           
 Controller[] getControllers(boolean forceRefresh)
           
 

Method Detail

getControllers

Controller[] getControllers(boolean forceRefresh)
                            throws InputSystemException
Parameters:
forceRefresh - if true, the list of available devices is refreshed from the system.
Returns:
an array of all the installed Controllers in the system.
Throws:
InputSystemException

getControllers

Controller[] getControllers()
                            throws InputSystemException
Returns:
an array of all the installed Controllers in the system. (This method doesn't force a refresh!)
Throws:
InputSystemException

destroy

void destroy(InputSystem inputSystem)
             throws InputSystemException
This method is called by the InputSystem when it gets destroyed.

Parameters:
inputSystem -
Throws:
InputSystemException