14#ifndef VEX_BUMPER_CLASS_H
15#define VEX_BUMPER_CLASS_H
63 enum class tEventType {
void released(void(*callback)(void))
Calls a function when the bumper switch is released.
bumper(int32_t index)
Creates a new bumper object on the port specified in the parameter.
int32_t value()
Gets the value of the bumper device.
void pressed(void(*callback)(void))
Calls a function when the bumper switch is pressed.
int32_t pressing()
Get the pressed status of the bumper device.
Bumper switch device class