source: flair-src/trunk/lib/FlairMeta/src/unexported/MetaDualShock3_impl.h@ 10

Last change on this file since 10 was 10, checked in by Sanahuja Guillaume, 8 years ago

lic

File size: 1.2 KB
Line 
1// %flair:license{
2// This file is part of the Flair framework distributed under the
3// CECILL-C License, Version 1.0.
4// %flair:license}
5/*!
6 * \file MetaDualShock3_impl.h
7 * \brief Classe intégrant la manette DualShock3 et les consignes joystick
8 * \author Guillaume Sanahuja, Copyright Heudiasyc UMR UTC/CNRS 7253
9 * \date 2014/01/14
10 * \version 3.4
11 */
12
13#ifndef METADUALSHOCK3_IMPL_H
14#define METADUALSHOCK3_IMPL_H
15
16#include <IODevice.h>
17
18namespace flair
19{
20 namespace meta
21 {
22 class MetaDualShock3;
23 }
24 namespace filter
25 {
26 class JoyReference;
27 }
28}
29
30/*! \class MetaDualShock3_impl
31*
32* \brief Classe intégrant la manette DualShock3 et les consignes joystick
33*/
34class MetaDualShock3_impl: public flair::core::IODevice
35{
36 public:
37 MetaDualShock3_impl(flair::meta::MetaDualShock3* self,std::string name);
38 ~MetaDualShock3_impl();
39 flair::filter::JoyReference *joy_ref;
40
41 private:
42 void UpdateFrom(const flair::core::io_data *data);
43 flair::meta::MetaDualShock3* self;
44 bool joy_init;
45 bool wasRollTrimUpButtonPressed,wasRollTrimDownButtonPressed,wasPitchTrimUpButtonPressed,wasPitchTrimDownButtonPressed;
46};
47
48#endif // METADUALSHOCK3_IMPL_H
Note: See TracBrowser for help on using the repository browser.