@@ -0,0 +1,20 @@
|
||||
#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;
|
||||
};
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user