22 void print(
void *input);
28 void reset(std::shared_ptr<input_t> &input);
33 void passthrough(std::shared_ptr<input_t> &input, std::vector<std::uint8_t> &&input_data);
40 [[nodiscard]] std::unique_ptr<platf::deinit_t>
init();
77 explicit operator bool()
const {
89 std::pair<float, float> scale_client_contact_area(
const std::pair<float, float> &val, uint16_t rotation,
const std::pair<float, float> &scalar);
Declarations for common platform specific utilities.
util::safe_ptr< void, freeInput > input_t
Owning pointer for a platform input backend.
Definition common.h:850
input_t input
Default input configuration values used before file and CLI overrides.
Definition config.cpp:744
std::unique_ptr< platf::deinit_t > init(const std::filesystem::path &persistence_filepath, const config::video_t &video_config)
Initialize the implementation and perform the initial state recovery (if needed).
Definition display_device.cpp:764
Handles process-wide communication.
Definition globals.h:34
Touchscreen coordinate bounds used to scale absolute input.
Definition common.h:361
int height
Frame or display height in pixels.
Definition common.h:365
int width
Frame or display width in pixels.
Definition common.h:364
Declarations for thread-safe data structures.
std::shared_ptr< mail_raw_t > mail_t
Shared mailbox handle used by event and queue wrappers.
Definition thread_safe.h:737