LRT14
1.0
Main Page
Namespaces
Classes
Files
File List
All
Classes
Namespaces
Functions
Variables
Enumerations
Enumerator
JoystickPressedEvent.h
1
#ifndef JOYSTICK_PRESSED_EVENT_H_
2
#define JOYSTICK_PRESSED_EVENT_H_
3
4
#include "Event.h"
5
#include "../../DriverStation/DebouncedJoystick.h"
6
10
class
JoystickPressedEvent
:
public
Event
11
{
12
public
:
13
JoystickPressedEvent
(
DebouncedJoystick
* joystick,
int
button = 0);
14
virtual
~
JoystickPressedEvent
();
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
JoystickPressedEvent.h
Generated on Tue Feb 11 2014 00:29:33 for LRT14 by
1.8.3