//
// Generated by Brutal.ImGui.Generator; do not edit by hand.
#nullable enable
namespace Brutal.ImGuiApi
{
public partial class ImGui
{
public unsafe partial class PInvoke
{
///
///
/// is key being held.
///
///
/// C++:
/// imgui.h:1081
/// ,
/// imgui.cpp:10171
///
bool IsKeyDown(ImGuiKey key)
///
///
///
///
/// Inputs Utilities: Keyboard/Mouse/Gamepad
/// - the ImGuiKey enum contains all possible keyboard, mouse and gamepad inputs (e.g. ImGuiKey_A, ImGuiKey_MouseLeft, ImGuiKey_GamepadDpadUp...).
/// - (legacy: before v1.87, we used ImGuiKey to carry native/user indices as defined by each backends. This was obsoleted in 1.87 (2022-02) and completely removed in 1.91.5 (2024-11). See https://github.com/ocornut/imgui/issues/4921)
/// - (legacy: any use of ImGuiKey will assert when key < 512 to detect passing legacy native/user indices)
///
///
/// Note that Dear ImGui doesn't know the meaning/semantic of ImGuiKey from 0..511: they are legacy native keycodes.
/// Consider transitioning from 'IsKeyDown(MY_ENGINE_KEY_A)' (<1.87) to IsKeyDown(ImGuiKey_A) (>= 1.87)
///
///
[LibraryImport("imgui")]
public static unsafe partial Bool8 IsKeyDown(ImGuiKey key);
}
}
}