rexglue-skate3/include/rex/kernel/xam/input_injection.h
2026-06-14 12:01:36 +01:00

18 lines
429 B
C++

#pragma once
#include <cstddef>
#include <cstdint>
namespace rex::kernel::xam {
struct SyntheticInputStep {
uint16_t buttons;
uint32_t poll_count;
};
void QueueSyntheticInput(uint16_t buttons, uint32_t poll_count);
void QueueSyntheticInputSequence(const SyntheticInputStep* steps, size_t step_count);
void SetSyntheticAutoTap(uint16_t buttons, bool enabled);
void ClearSyntheticInput();
} // namespace rex::kernel::xam