Package xbot.common.injection.modules
Class RealControlsModule
java.lang.Object
xbot.common.injection.modules.RealControlsModule
Module for mapping control device interfaces to real hardware.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract XFTCGamepad.XFTCGamepadFactory
abstract XJoystick.XJoystickFactory
abstract XRumbleManager.XRumbleManagerFactory
-
Constructor Details
-
RealControlsModule
public RealControlsModule()
-
-
Method Details
-
getJoystickFactory
@Binds @Singleton public abstract XJoystick.XJoystickFactory getJoystickFactory(JoystickWPIAdapter.JoystickWPIAdapterFactory impl) -
getXboxControllerFactory
@Binds @Singleton public abstract XXboxController.XXboxControllerFactory getXboxControllerFactory(XboxControllerWpiAdapter.XboxControllerWpiAdapterFactory impl) -
getFTCGamepadFactory
@Binds @Singleton public abstract XFTCGamepad.XFTCGamepadFactory getFTCGamepadFactory(FTCGamepadWpiAdapter.FTCGamepadWpiAdapterFactory impl) -
getRumbleManagerFactory
@Binds @Singleton public abstract XRumbleManager.XRumbleManagerFactory getRumbleManagerFactory(RumbleManager.RumbleManagerFactory impl)
-