class

CMiriKeyboardAudit

Module
Miri
Header
#include "Miri/Framework/CMiriKeyboardAudit.h"
Namespace
Miri

Constructors

SignatureNameDescription
CMiriKeyboardAudit() = deleteCMiriKeyboardAudit

Public functions

ReturnsNameDescription
CMiriKeyboardAuditReportRun
CMiriWindow*FindTopWindowThe window a keyboard user is in: the newest live non-popup window that is not the main one (a dialog or tool window), else the main window.
voidSetExtraPopupCounterPopups a host paints as widgets rather than through the menu and modal stacks (an options dialog in the editor shell).

Function details

CMiriKeyboardAudit

C++
CMiriKeyboardAudit() = delete

Run

C++
static CMiriKeyboardAuditReport Run(CMiriWindow& window, int32_t maxTabs = 4000)

FindTopWindow

C++
static CMiriWindow* FindTopWindow()

The window a keyboard user is in: the newest live non-popup window that is not the main one (a dialog or tool window), else the main window.

SetExtraPopupCounter

C++
static void SetExtraPopupCounter(std::function<size_t()> counter)

Popups a host paints as widgets rather than through the menu and modal stacks (an options dialog in the editor shell). They own the keyboard the same way, so the pass presses Escape on them first.

Generated from Miri/Framework/CMiriKeyboardAudit.h via miri.json · Dec 5, 2026Version 1.1.0