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
10extern int gJoypadButtonMsgType;
11
17class JoypadButtonMsg : public Message {
18public:
19 virtual int Type() {
21 }
22
23 int mPad;
24 int mButton;
25 bool mPressed;
26};
int gJoypadButtonMsgType
The type of a JoypadButtonMsg.
A change of a controller button.
Definition JoypadButtonMsg.h:17
int mPad
Definition JoypadButtonMsg.h:23
bool mPressed
Definition JoypadButtonMsg.h:25
virtual int Type()
Report this message's registered identity.
Definition JoypadButtonMsg.h:19
int mButton
Definition JoypadButtonMsg.h:24
Base of every event the game passes between a MsgSource and a MsgSink.
Definition message.h:40