mirror of
https://github.com/ByteWelder/Tactility.git
synced 2026-08-18 16:05:05 +00:00
27 lines
662 B
C++
27 lines
662 B
C++
// SPDX-License-Identifier: Apache-2.0
|
|
#include <tactility/drivers/touch_placeholder.h>
|
|
#include <tactility/device.h>
|
|
#include <tactility/driver.h>
|
|
#include <tactility/drivers/touch.h>
|
|
#include <tactility/module.h>
|
|
|
|
extern "C" {
|
|
|
|
static error_t start(Device*) { return ERROR_NONE; }
|
|
static error_t stop(Device*) { return ERROR_NONE; }
|
|
|
|
extern Module root_module;
|
|
|
|
Driver touch_placeholder_driver = {
|
|
.name = "touch_placeholder",
|
|
.compatible = (const char*[]) { "touch-placeholder", nullptr },
|
|
.start_device = start,
|
|
.stop_device = stop,
|
|
.api = nullptr,
|
|
.device_type = &TOUCH_TYPE,
|
|
.owner = &root_module,
|
|
.internal = nullptr
|
|
};
|
|
|
|
}
|