Package com.ardor3d.input
Interface ControllerWrapper
- All Known Implementing Classes:
DummyControllerWrapper
,JInputControllerWrapper
public interface ControllerWrapper
-
Nested Class Summary
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
getControllerInfo
(int controllerIndex) Returns a peeking iterator that allows the client to loop through all controller events that have not yet been handled.void
init()
Allows the controller wrapper implementation to initialize itself.
-
Field Details
-
_upcomingEvents
-
-
Method Details
-
init
void init()Allows the controller wrapper implementation to initialize itself. -
getEvents
PeekingIterator<ControllerEvent> getEvents()Returns a peeking iterator that allows the client to loop through all controller events that have not yet been handled.- Returns:
- an iterator that allows the client to check which events have still not been handled
-
getControllerCount
int getControllerCount() -
getControllerInfo
-