[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:
Thad House
2026-02-06 21:36:01 -08:00
committed by GitHub
parent 77b2f9802e
commit 5c5d5222f4
133 changed files with 1959 additions and 2682 deletions

View File

@@ -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() {