|
wavelength 1.0.0
|
A change of a controller button. More...
#include <JoypadButtonMsg.h>


Public Member Functions | |
| virtual int | Type () |
| Report this message's registered identity. | |
| Public Member Functions inherited from Message | |
| virtual | ~Message () |
| Vtable slot 1. | |
| virtual Message * | Clone ()=0 |
| Produce a heap copy of this message. | |
| virtual const char * | GetName () const =0 |
| Report this message's class name. | |
| virtual void | PrintExtra (PrnStream &stream) const |
| Write this message's payload to a diagnostic stream. | |
| 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. | |
Public Attributes | |
| int | mPad |
| int | mButton |
| bool | mPressed |
Additional Inherited Members | |
| Static Public Member Functions inherited from Message | |
| static Message * | NewMessage (int nType) |
| Produce a message of the identified class through the factory list. | |
A change of a controller button.
The control never constructs one; CheatsManager reads these members. The class name is inferred.
|
inlinevirtual |
Report this message's registered identity.
An implementation returns one word from the per-class identity table that spans 0x006d01ac through 0x006d035c. A sink compares the result against the identity it listens for, which is what ScriptSink::DispatchPriv() does against 0x006d024c. The read has no side effect, so the call MsgQueue::DispatchPriv() makes and discards has none either.
Implements Message.
| int JoypadButtonMsg::mPad |
The controller.
| int JoypadButtonMsg::mButton |
The button.
| bool JoypadButtonMsg::mPressed |
Whether the button went down.