MCPcopy Create free account
hub / github.com/TactilityProject/Tactility / ~ButtonControl

Method ~ButtonControl

Drivers/ButtonControl/Source/ButtonControl.cpp:47–51  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

45}
46
47ButtonControl::~ButtonControl() {
48 if (driverThread != nullptr && driverThread->getState() != tt::Thread::State::Stopped) {
49 stopThread();
50 }
51}
52
53void ButtonControl::readCallback(lv_indev_t* indev, lv_indev_data_t* data) {
54 // Defaults

Callers

nothing calls this directly

Calls 1

getStateMethod · 0.45

Tested by

no test coverage detected