Skip to content

Repository files navigation

imgui_keyboard

Input widgets for Dear ImGui.

  • Keyboard
  • Mouse
  • Gamepad (wip)

Screenshots

keyboard icons

keyboard apple

keyboard iso

mouse wheel

Features

  • Multiple keyboard layouts: QWERTY, QWERTZ, AZERTY, Colemak, Dvorak, Numeric Pad
  • Key highlighting and press visualization
  • Fully customizable styling (colors, sizes, rounding)

Usage

#include "imgui_keyboard.h"

// Render the keyboard
ImKeyboard::Keyboard(ImGuiKeyboardLayout_Qwerty, ImGuiKeyboardFlags_None);

// Highlight specific keys
ImKeyboard::Highlight(ImGuiKey_W, true);
ImKeyboard::ClearHighlights();

Integration

Add imgui_keyboard.cpp and imgui_keyboard.h to your project.

License

MIT License - see LICENSE for details.

About

keyboard layout rendering for imgui

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages