org.jagatoo.input.impl.mixed
Class LWJGLJInputInputDeviceFactory
java.lang.Object
org.jagatoo.input.devices.InputDeviceFactory
org.jagatoo.input.impl.mixed.LWJGLJInputInputDeviceFactory
- All Implemented Interfaces:
- ControllerFactory, KeyboardFactory, MouseFactory
public class LWJGLJInputInputDeviceFactory
- extends InputDeviceFactory
This InputDeviceFactory is backed by an LWJGLInputDeviceFactory
for Keyboards and Mouses and a JInputInputDeviceFactory for Controllers.
| Methods inherited from class org.jagatoo.input.devices.InputDeviceFactory |
destroy, findSourceFactory, flushCache, getCachedControllers, getCachedKeyboards, getCachedMouses, getControllers, getControllers, getEveneQueue, getKeyboards, getKeyboards, getMasterFactory, getMouses, getMouses, getSourceWindow, initControllers, initKeyboards, initMouses |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LWJGLJInputInputDeviceFactory
public LWJGLJInputInputDeviceFactory(InputSourceWindow sourceWindow,
EventQueue eventQueue)
flushCache
protected final void flushCache(boolean keyboards,
boolean mouses,
boolean controllers)
-
- Overrides:
flushCache in class InputDeviceFactory
initMouses
protected LWJGLMouse[] initMouses()
throws InputSystemException
-
- Specified by:
initMouses in class InputDeviceFactory
- Returns:
- an array of all the installed Mouses in the system.
- Throws:
InputSystemException
initKeyboards
protected LWJGLKeyboard[] initKeyboards()
throws InputSystemException
-
- Specified by:
initKeyboards in class InputDeviceFactory
- Returns:
- an array of all the installed Keyboards in the system.
- Throws:
InputSystemException
initControllers
protected JInputController[] initControllers()
throws InputSystemException
-
- Specified by:
initControllers in class InputDeviceFactory
- Returns:
- an array of all the installed Controllers in the system.
- Throws:
InputSystemException
destroyImpl
protected void destroyImpl(InputSystem inputSystem)
throws InputSystemException
-
- Specified by:
destroyImpl in class InputDeviceFactory
- Throws:
InputSystemException