SCRIPT namespace replacements

This commit is contained in:
PJ Reiniger
2025-11-07 20:00:05 -05:00
committed by Peter Johnson
parent ae6c043632
commit 9aca8e0fd6
2622 changed files with 22275 additions and 22275 deletions

View File

@@ -8,7 +8,7 @@
#include "wpi/util/sendable/Sendable.hpp"
#include "wpi/util/sendable/SendableHelper.hpp"
namespace frc {
namespace wpi {
/**
* Handle input from Gamepad controllers connected to the Driver Station.
@@ -23,8 +23,8 @@ namespace frc {
* to have the same mapping, as well as any 3rd party controllers.
*/
class Gamepad : public GenericHID,
public wpi::Sendable,
public wpi::SendableHelper<Gamepad> {
public wpi::util::Sendable,
public wpi::util::SendableHelper<Gamepad> {
public:
/**
* Construct an instance of a controller.
@@ -1007,11 +1007,11 @@ class Gamepad : public GenericHID,
static constexpr int kRightTrigger = 5;
};
void InitSendable(wpi::SendableBuilder& builder) override;
void InitSendable(wpi::util::SendableBuilder& builder) override;
private:
double GetAxisForSendable(int axis) const;
bool GetButtonForSendable(int button) const;
};
} // namespace frc
} // namespace wpi