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