Package xbot.common.injection.modules
Class MockControlsModule
java.lang.Object
xbot.common.injection.modules.MockControlsModule
Module for mapping control device interfaces to mock implementations.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract XFTCGamepad.XFTCGamepadFactory
abstract XJoystick.XJoystickFactory
abstract XRumbleManager.XRumbleManagerFactory
-
Constructor Details
-
MockControlsModule
public MockControlsModule()
-
-
Method Details
-
getJoystickFactory
@Binds @Singleton public abstract XJoystick.XJoystickFactory getJoystickFactory(MockJoystick.MockJoystickFactory impl) -
getXboxControllerFactory
@Binds @Singleton public abstract XXboxController.XXboxControllerFactory getXboxControllerFactory(MockXboxControllerAdapter.MockXboxControllerFactory impl) -
getFTCGamepadFactory
@Binds @Singleton public abstract XFTCGamepad.XFTCGamepadFactory getFTCGamepadFactory(MockFTCGamepad.MockFTCGamepadFactory impl) -
getRumbleManagerFactory
@Binds @Singleton public abstract XRumbleManager.XRumbleManagerFactory getRumbleManagerFactory(RumbleManager.RumbleManagerFactory impl)
-