#pragma once

#include "adapters/windows/input/ToggleHotkey.h"
#include "features/aimbot/IAimbotInput.h"

namespace ta::adapters::windows::input
{
    class AimbotInputAdapter final : public ta::features::aimbot::IAimbotInput
    {
    public:
        [[nodiscard]] bool poll_toggle(int virtual_key) override
        {
            return hotkey_.poll(virtual_key);
        }

        void reset() noexcept override
        {
            hotkey_.reset();
        }

    private:
        ToggleHotkey hotkey_;
    };
}
