#pragma once

// -----------------------------------------------------------------------------
// input.h
// -----------------------------------------------------------------------------
// Keyboard helpers built on GetAsyncKeyState(). Provides plain
// "is down" queries plus edge-triggered "was pressed" detection that fires
// once per physical press (used by the hotkey listener).
// -----------------------------------------------------------------------------

namespace util {

// Returns true while the given virtual key is physically held down.
bool IsKeyDown(int virtualKey);

// Returns true exactly once per key press (auto-repeat suppressed).
// Intended to be polled from a single listener loop.
bool WasKeyPressed(int virtualKey);

} // namespace util