LRT14
1.0
Main Page
Namespaces
Classes
Files
File List
All
Classes
Namespaces
Functions
Variables
Enumerations
Enumerator
JoystickReleasedEvent.h
1
#ifndef JOYSTICK_RELEASED_EVENT_H_
2
#define JOYSTICK_RELEASED_EVENT_H_
3
4
#include "Event.h"
5
#include "../../DriverStation/DebouncedJoystick.h"
6
10
class
JoystickReleasedEvent
:
public
Event
11
{
12
public
:
13
JoystickReleasedEvent
(
DebouncedJoystick
*joystick,
int
button = 0);
14
virtual
~
JoystickReleasedEvent
();
15
16
virtual
bool
CheckCondition
();
17
18
uint32_t GetButton();
19
DebouncedJoystick
* GetJoystick();
20
21
private
:
22
DebouncedJoystick
* m_joystick;
23
uint32_t m_button;
24
uint32_t m_lastFiredButton;
25
};
26
27
#endif
Brain
Events
JoystickReleasedEvent.h
Generated on Tue Feb 11 2014 00:29:33 for LRT14 by
1.8.3