mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-20 00:51:42 +00:00
[commands] Replace Command HID inheritance with delegation (#4470)
This commit is contained in:
@@ -6,6 +6,10 @@
|
||||
|
||||
using namespace frc2;
|
||||
|
||||
Trigger CommandXboxController::Button(int button, frc::EventLoop* loop) const {
|
||||
return GenericHID::Button(button, loop).CastTo<Trigger>();
|
||||
}
|
||||
|
||||
Trigger CommandXboxController::LeftBumper(frc::EventLoop* loop) const {
|
||||
return XboxController::LeftBumper(loop).CastTo<Trigger>();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user