Portals0.7.0 · dev (544a5c68c72e · 2026-11-28 UTC)
Loading...
Searching...
No Matches
portals::InputModeReport Struct Reference

Owning DECRPM reply; the caller validates the expected mode and protocol phase. More...

#include <input.hpp>

Public Member Functions

bool operator== (const InputModeReport &other) const =default
 Compare mode and reported state.

Public Attributes

std::uint32_t mode {}
 DEC private mode number, without inferred support.
std::uint32_t state {}
 Reported state: 0 unknown, 1 set, 2 reset, 3 permanently set, 4 permanently reset.

Detailed Description

Owning DECRPM reply; the caller validates the expected mode and protocol phase.

Member Function Documentation

◆ operator==()

bool portals::InputModeReport::operator== ( const InputModeReport & other) const
default

Compare mode and reported state.

Parameters
otherIndependently owned report to compare.
Returns
Whether both fields match.

The documentation for this struct was generated from the following file: