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