wavelength
1.0.0
Loading...
Searching...
No Matches
JoypadButtonMsg.h
Go to the documentation of this file.
1
#pragma once
2
3
#include "
utl/Message.h
"
4
10
extern
int
gJoypadButtonMsgType
;
11
17
class
JoypadButtonMsg
:
public
Message
{
18
public
:
19
virtual
int
Type
() {
20
return
gJoypadButtonMsgType
;
21
}
22
23
int
mPad
;
24
int
mButton
;
25
bool
mPressed
;
26
};
gJoypadButtonMsgType
int gJoypadButtonMsgType
The type of a JoypadButtonMsg.
Message.h
JoypadButtonMsg
A change of a controller button.
Definition
JoypadButtonMsg.h:17
JoypadButtonMsg::mPad
int mPad
Definition
JoypadButtonMsg.h:23
JoypadButtonMsg::mPressed
bool mPressed
Definition
JoypadButtonMsg.h:25
JoypadButtonMsg::Type
virtual int Type()
Report this message's registered identity.
Definition
JoypadButtonMsg.h:19
JoypadButtonMsg::mButton
int mButton
Definition
JoypadButtonMsg.h:24
Message
Base of every event the game passes between a MsgSource and a MsgSink.
Definition
message.h:40
tools
synthedit
os
JoypadButtonMsg.h
Generated by
1.15.0