29#ifndef FRC_REVLIB_SRC_MAIN_NATIVE_INCLUDE_REV_SIM_SPARKLIMITSWITCHSIM_H_
30#define FRC_REVLIB_SRC_MAIN_NATIVE_INCLUDE_REV_SIM_SPARKLIMITSWITCHSIM_H_
34#include <frc/simulation/SimDeviceSim.h>
35#include <hal/SimDevice.h>
53 void SetupSimDevice();
55 hal::SimBoolean m_isPressed;
56 hal::SimBoolean m_isEnabled;
58 const char* simDeviceName;
Definition: SparkBase.h:57
Definition: SparkFlex.h:37
Definition: SparkLimitSwitchSim.h:43
bool GetPressed() const
Definition: SparkLimitSwitchSim.cpp:71
bool GetEnabled() const
Definition: SparkLimitSwitchSim.cpp:73
void SetPressed(bool state)
Definition: SparkLimitSwitchSim.cpp:69
SparkLimitSwitchSim(SparkMax *motor, bool forward)
Definition: SparkLimitSwitchSim.cpp:37
Definition: SparkMax.h:37
Definition: SparkLowLevel.cpp:40