20 lines
255 B
C++
20 lines
255 B
C++
#pragma once
|
|
|
|
#include <cstdint>
|
|
|
|
#include <modulus/types.hpp>
|
|
|
|
namespace vamp_pico {
|
|
|
|
struct touch_point {
|
|
std::int32_t x{};
|
|
std::int32_t y{};
|
|
};
|
|
|
|
struct touch_controller {
|
|
auto init() -> void;
|
|
auto read(touch_point& point) -> std::bool_t;
|
|
};
|
|
|
|
}
|