mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-24 01:31:46 +00:00
[wpilib] Prefix all NI DS specific controller classes (#8596)
Easier then the last one that put everything in a sub namespace. By prefixing the name less things break, and intellisense will be less confusing to new users during the transition.
This commit is contained in:
@@ -7,9 +7,9 @@ package org.wpilib.examples.romireference;
|
||||
import org.wpilib.command2.Command;
|
||||
import org.wpilib.command2.PrintCommand;
|
||||
import org.wpilib.command2.button.Trigger;
|
||||
import org.wpilib.driverstation.Gamepad;
|
||||
import org.wpilib.driverstation.GenericHID;
|
||||
import org.wpilib.driverstation.Joystick;
|
||||
import org.wpilib.driverstation.XboxController;
|
||||
import org.wpilib.examples.romireference.commands.ArcadeDrive;
|
||||
import org.wpilib.examples.romireference.commands.AutonomousDistance;
|
||||
import org.wpilib.examples.romireference.commands.AutonomousTime;
|
||||
@@ -56,7 +56,7 @@ public class RobotContainer {
|
||||
/**
|
||||
* Use this method to define your button->command mappings. Buttons can be created by
|
||||
* instantiating a {@link GenericHID} or one of its subclasses ({@link
|
||||
* org.wpilib.driverstation.Joystick} or {@link XboxController}), and then passing it to a {@link
|
||||
* org.wpilib.driverstation.Joystick} or {@link Gamepad}), and then passing it to a {@link
|
||||
* org.wpilib.command2.button.JoystickButton}.
|
||||
*/
|
||||
private void configureButtonBindings() {
|
||||
|
||||
Reference in New Issue
Block a user