mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-07-01 02:41:48 +00:00
HAND FIX - Fixup pregen files
This commit is contained in:
committed by
Peter Johnson
parent
6b69aab44e
commit
e0320a942a
@@ -8,9 +8,9 @@
|
||||
{%- endmacro %}
|
||||
package org.wpilib.command2.button;
|
||||
|
||||
import org.wpilib.{{ ConsoleName }}Controller;
|
||||
import org.wpilib.event.EventLoop;
|
||||
import org.wpilib.command2.CommandScheduler;
|
||||
import org.wpilib.driverstation.{{ ConsoleName }}Controller;
|
||||
import org.wpilib.event.EventLoop;
|
||||
|
||||
/**
|
||||
* A version of {@link {{ ConsoleName }}Controller} with {@link Trigger} factories for command-based.
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
{% macro capitalize_first(string) -%}
|
||||
{{ string[0]|capitalize + string[1:] }}
|
||||
{%- endmacro %}
|
||||
#include "frc2/command/button/Command{{ ConsoleName }}Controller.h"
|
||||
#include "wpi/commands2/button/Command{{ ConsoleName }}Controller.hpp"
|
||||
|
||||
using namespace frc2;
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
{{ string[0]|capitalize + string[1:] }}
|
||||
{%- endmacro %}
|
||||
#pragma once
|
||||
#include <frc/{{ ConsoleName }}Controller.h>
|
||||
#include <wpi/driverstation/{{ ConsoleName }}Controller.hpp>
|
||||
|
||||
#include "wpi/commands2/button/Trigger.hpp"
|
||||
#include "wpi/commands2/CommandScheduler.hpp"
|
||||
|
||||
Reference in New Issue
Block a user