Message the keyboard poll sends when a key of a USB keyboard is pressed.
More...
#include <keyboardkeymsg.h>
|
| | KeyboardKeyMsg (int nKey) |
| | Construct the message of a key.
|
| void * | operator new (size_t nSize) |
| | Allocate a message, billed to the class name.
|
| void | operator delete (void *pBlock) |
| | Release a message.
|
| Message * | Clone () override |
| | Produce a heap copy of this message.
|
| int | Type () override |
| | Report this message's registered identity.
|
| const char * | GetName () const override |
| | Report this message's class name.
|
| void | PrintExtra (PrnStream &stream) const override |
| | Write the key.
|
| int | GetKey () const |
| virtual | ~Message () |
| | Vtable slot 1.
|
| virtual void | saveGuts (BinStream &stream) const |
| | Write this message's payload to a stream.
|
| virtual void | restoreGuts (BinStream &stream) |
| | Read this message's payload from a stream.
|
| virtual | ~Message () |
| virtual void | Unused1 () |
| | Not called by the control.
|
|
| static Message * | NewMessage (int nType) |
| | Produce a message of the identified class through the factory list.
|
Message the keyboard poll sends when a key of a USB keyboard is pressed.
The RTTI includes the class name and records Message as the base. The object is 8 bytes, and its vtable is at 0x003d6990.
◆ KeyboardKeyMsg()
| KeyboardKeyMsg::KeyboardKeyMsg |
( |
int | nKey | ) |
|
|
inlineexplicit |
Construct the message of a key.
Inline in the keyboard poll.
- Parameters
-
◆ operator new()
| void * KeyboardKeyMsg::operator new |
( |
size_t | nSize | ) |
|
|
inline |
Allocate a message, billed to the class name.
- Parameters
-
| nSize | The object size the compiler supplies. |
- Returns
- The block.
◆ operator delete()
| void KeyboardKeyMsg::operator delete |
( |
void * | pBlock | ) |
|
|
inline |
Release a message.
- Parameters
-
◆ Clone()
| Message * KeyboardKeyMsg::Clone |
( |
| ) |
|
|
inlineoverridevirtual |
Produce a heap copy of this message.
- Returns
- The copy.
- Ghidra address:
- NTSC-U/C: 0x003a75d0
- Ghidra address:
- PAL: 0x004162b0
Implements Message.
◆ Type()
| int KeyboardKeyMsg::Type |
( |
| ) |
|
|
inlineoverridevirtual |
Report this message's registered identity.
- Returns
- g_nKeyboardKeyMsgType.
- Ghidra address:
- NTSC-U/C: 0x003a7620
- Ghidra address:
- PAL: 0x00416300
Implements Message.
◆ GetName()
| const char * KeyboardKeyMsg::GetName |
( |
| ) |
const |
|
inlineoverridevirtual |
Report this message's class name.
- Returns
- The literal KeyboardKeyMsg.
- Ghidra address:
- NTSC-U/C: 0x003a7630
- Ghidra address:
- PAL: 0x00416310
Implements Message.
◆ PrintExtra()
| void KeyboardKeyMsg::PrintExtra |
( |
PrnStream & | stream | ) |
const |
|
overridevirtual |
Write the key.
- Parameters
-
| stream | The stream to write to. |
- Ghidra address:
- NTSC-U/C: 0x0028c280
- Ghidra address:
- PAL: 0x00295bd0
Reimplemented from Message.
◆ GetKey()
| int KeyboardKeyMsg::GetKey |
( |
| ) |
const |
|
inline |
The documentation for this class was generated from the following file: