resonance 1.0.1
Loading...
Searching...
No Matches
MetScreenCommand Struct Reference

One navigation command delivered to a screen. More...

#include <metscreen.h>

Public Attributes

int mCommand
int mPadIndex
int mButton

Detailed Description

One navigation command delivered to a screen.

The record is 12 bytes and is not polymorphic, so it emits no RTTI and its title is inferred from its use rather than recovered. MetRenderer::DispatchPriv builds one on its own stack from an input message through the translator at 0x002e3738 and passes it to MetScreen::DeliverCommand(). The three fields come straight from that translator, which copies the pad index and the button identifier out of the input message and maps the button to a command code.

Member Data Documentation

◆ mCommand

int MetScreenCommand::mCommand

What the user requested, from MetScreenCommandCode. +0x00

◆ mPadIndex

int MetScreenCommand::mPadIndex

Which controller produced the command. +0x04

◆ mButton

int MetScreenCommand::mButton

Raw button identifier the translator mapped. +0x08


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