diff --git a/wpilibNewCommands/src/main/java/edu/wpi/first/wpilibj2/command/button/CommandGenericHID.java b/wpilibNewCommands/src/main/java/edu/wpi/first/wpilibj2/command/button/CommandGenericHID.java index 9896f6522e..a34e261a4c 100644 --- a/wpilibNewCommands/src/main/java/edu/wpi/first/wpilibj2/command/button/CommandGenericHID.java +++ b/wpilibNewCommands/src/main/java/edu/wpi/first/wpilibj2/command/button/CommandGenericHID.java @@ -144,7 +144,7 @@ public class CommandGenericHID { } /** - * Constructs a Trigger instance based around the 45-degree angle (down left) of the default + * Constructs a Trigger instance based around the 225-degree angle (down left) of the default * (index 0) POV on the HID, attached to {@link CommandScheduler#getDefaultButtonLoop() the * default command scheduler button loop}. * @@ -177,11 +177,11 @@ public class CommandGenericHID { } /** - * Constructs a Trigger instance based around the center (not pressed) of the default (index 0) - * POV on the HID, attached to {@link CommandScheduler#getDefaultButtonLoop() the default command - * scheduler button loop}. + * Constructs a Trigger instance based around the center (not pressed) position of the default + * (index 0) POV on the HID, attached to {@link CommandScheduler#getDefaultButtonLoop() the + * default command scheduler button loop}. * - * @return a Trigger instance based around the center of a POV on the HID. + * @return a Trigger instance based around the center position of a POV on the HID. */ public Trigger povCenter() { return pov(-1); diff --git a/wpilibNewCommands/src/main/native/include/frc2/command/button/CommandGenericHID.h b/wpilibNewCommands/src/main/native/include/frc2/command/button/CommandGenericHID.h index 4f1aa8e89e..d27cd30f4b 100644 --- a/wpilibNewCommands/src/main/native/include/frc2/command/button/CommandGenericHID.h +++ b/wpilibNewCommands/src/main/native/include/frc2/command/button/CommandGenericHID.h @@ -72,7 +72,7 @@ class CommandGenericHID : public frc::GenericHID { * @param loop the event loop instance to attach the event to. Defaults to * {@link CommandScheduler::GetDefaultButtonLoop() the default command * scheduler button loop}. - * @return a Trigger instance based around the 90-degree angle of a POV on the + * @return a Trigger instance based around the 0-degree angle of a POV on the * HID. */ Trigger POVUp(frc::EventLoop* loop = CommandScheduler::GetInstance() @@ -85,7 +85,7 @@ class CommandGenericHID : public frc::GenericHID { * @param loop the event loop instance to attach the event to. Defaults to * {@link CommandScheduler::GetDefaultButtonLoop() the default command * scheduler button loop}. - * @return a Trigger instance based around the 90-degree angle of a POV on the + * @return a Trigger instance based around the 45-degree angle of a POV on the * HID. */ Trigger POVUpRight(frc::EventLoop* loop = CommandScheduler::GetInstance() @@ -122,8 +122,8 @@ class CommandGenericHID : public frc::GenericHID { * @param loop the event loop instance to attach the event to. Defaults to * {@link CommandScheduler::GetDefaultButtonLoop() the default command * scheduler button loop}. - * @return a Trigger instance based around the 90-degree angle of a POV on the - * HID. + * @return a Trigger instance based around the 180-degree angle of a POV on + * the HID. */ Trigger POVDown(frc::EventLoop* loop = CommandScheduler::GetInstance() .GetDefaultButtonLoop()) const; @@ -135,8 +135,8 @@ class CommandGenericHID : public frc::GenericHID { * @param loop the event loop instance to attach the event to. Defaults to * {@link CommandScheduler::GetDefaultButtonLoop() the default command * scheduler button loop}. - * @return a Trigger instance based around the 90-degree angle of a POV on the - * HID. + * @return a Trigger instance based around the 225-degree angle of a POV on + * the HID. */ Trigger POVDownLeft(frc::EventLoop* loop = CommandScheduler::GetInstance() .GetDefaultButtonLoop()) const; @@ -148,8 +148,8 @@ class CommandGenericHID : public frc::GenericHID { * @param loop the event loop instance to attach the event to. Defaults to * {@link CommandScheduler::GetDefaultButtonLoop() the default command * scheduler button loop}. - * @return a Trigger instance based around the 90-degree angle of a POV on the - * HID. + * @return a Trigger instance based around the 270-degree angle of a POV on + * the HID. */ Trigger POVLeft(frc::EventLoop* loop = CommandScheduler::GetInstance() .GetDefaultButtonLoop()) const; @@ -161,20 +161,20 @@ class CommandGenericHID : public frc::GenericHID { * @param loop the event loop instance to attach the event to. Defaults to * {@link CommandScheduler::GetDefaultButtonLoop() the default command * scheduler button loop}. - * @return a Trigger instance based around the 90-degree angle of a POV on the - * HID. + * @return a Trigger instance based around the 315-degree angle of a POV on + * the HID. */ Trigger POVUpLeft(frc::EventLoop* loop = CommandScheduler::GetInstance() .GetDefaultButtonLoop()) const; /** - * Constructs a Trigger instance based around the center (not pressed) of the - * default (index 0) POV on the HID. + * Constructs a Trigger instance based around the center (not pressed) + * position of the default (index 0) POV on the HID. * * @param loop the event loop instance to attach the event to. Defaults to * {@link CommandScheduler::GetDefaultButtonLoop() the default command * scheduler button loop}. - * @return a Trigger instance based around the 90-degree angle of a POV on the + * @return a Trigger instance based around the center position of a POV on the * HID. */ Trigger POVCenter(frc::EventLoop* loop = CommandScheduler::GetInstance()